求助 在浏览器里打开是商品网页,采集的时候,源码是一个转发的JS
我想得到商品网页,我用程序怎么做呢?http://s.click.taobao.com/t_8?e=7HZ6jHSTbIQxYPIkjvZy9i3GDc%2FOS26GzI6vxZek96rbgGg%2BQ2J8wwmDATbRMocqGOo6XrAEJZ0p3%2Fj4Lyr80yL1GttJ0ldsKaoPobBFEqTo%2Fw%3D%3D&p=mm_17142583_0_0&n=19

解决方案 »

  1.   

    它不是302嘛,curl打开跳转支持 应该可以访问最后地址吧
      

  2.   

    curl打开跳转支持CRUL 怎么条转支持哟??Quote=引用 1 楼  的回复:]它不是302嘛,curl打开跳转支持 应该可以访问最后地址吧
    [/Quote]
      

  3.   

    CURLOPT_FOLLOWLOCATION TRUE to follow any "Location: " header that the server sends as part of the HTTP header (note this is recursive, PHP will follow as many "Location: " headers that it is sent, unless CURLOPT_MAXREDIRS is set).
      

  4.   

    JS的也可以找到啊,用正则取出JS里的地址在采呀。