impl url encode for spider