最近在写一个京东的爬虫,在模拟其http请求访问评论时,遇到http://club.jd.com/productpage/p-1419543-s-0-t-0-p-0.html?callback=jQuery666571&_=1429756811393这种url,被callback后的串难住。

后阅读http://www.cnblogs.com/2050/p/3191744.html这篇博文以及网上一些资料,得知这是jquery随机生成的回调函数,其参数就是http://club.jd.com/productpage/p-1419543-s-0-t-0-p-0.html中的json,为了实现跨域数据传输而生成的回调函数(其源码在refer页面)。

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2021-07-07
  • 2021-11-08
  • 2021-07-17
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2021-09-02
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案