京东、天猫等电商平台产品评价

京东,产品评价:

http://club.jd.com/productpage/p-产品ID-s-0-t-0-p-页码.html


需要Referer、Host


天猫,产品评价:

先取到一个参数(sellerId),从产品web页中。

http://detail.tmall.com/item.htm?id=产品ID

web页中,

sellerId:\"([0-9]+)\"

评价页:

http://rate.tmall.com/list_detail_rate.htm?itemId=goodsId&spuId=0&sellerId=这个就是从web页取到的值&order=1¤tPage=页码(只能到99页)&append=0&content=这个是对是否有评价内容的筛选(0是全部,1是有评价内容的)&tagId=&posi=&picture=&ua=109fCJmZk4PGRVHHxtNZnIvYn02YSd8NGIZIw%3D%3D%7CfyJ6ZyByNWsuYnAvan8rZhc%3D%7CfiB4D15%2BZH9geTp%2FJyN8MD5hIAUFGwtCUlVRYEk%3D%7CeSRiYjNhJ386eWo1dWs2cWUvdjRzMXdmMHZkMHxjI3I3aCtseyh%2BBQ%3D%3D%7CeCVoaEASTBRUFwFKDxlZDxNVAUcHUh4NQwwIORA%3D%7CeyR8C0kSTBdfGhBGBxZCGgdGEVQEWB0CVxMZRAAUVxhbC0kNB1EVAVpzAg%3D%3D%7CeiJ6DVwdQxJRFR9JChtAGAVCGV9rRg%3D%3D%7CdSx0A1ITTX83cW4lY3YtbRxDEkwHVQ0ZTQ0TIgs%3D%7CdC11AlMSTH45eWcsan8kZRRLGkQPXQUQTg0fLgc%3D%7Cdy93AFEQThBWEhhNDRJOFg9LHV1pRA%3D%3D%7Cdi52AVARTx9cGBJHBBBJEQRDEFNnSg%3D%3D%7CcShwB1YXSXsycGYta3sma2shdjx5OHxtJmFwMHdiTANBBFYAClwYCFEUZUs%3D%7CcChscC98InklYHIkfGkwc3M0ezhhPXhmLWh5OXp6P3AzbkM%3D&_ksTS=1415760505164_3767&callback=jsonp3768

其他一些参数去掉也行。(没有进一步测试)


你可能感兴趣的:(电商,电商)