开发者

download link with get vars

开发者 https://www.devze.com 2023-01-16 18:13 出处:网络
How开发者_运维知识库 can I download page on this link http://www.kayak.com/s/search/air?ai=kayaksample&do=y&ft=ow&ns=n&cb=e&pa=1&l1=ZAG&t1=a&df=dmy&d1=4/10/2010&am

How开发者_运维知识库 can I download page on this link

http://www.kayak.com/s/search/air?ai=kayaksample&do=y&ft=ow&ns=n&cb=e&pa=1&l1=ZAG&t1=a&df=dmy&d1=4/10/2010&depart_flex=exact&r1=y&l2=LON&t2=a&d2=11/10/2010&return_flex&r2=y

Link changes to short version (for example www.kayak.com/r/OcJdUd>) after some time ...

I tried to download page with fopen command and Curl lib but nothing.

So is there any solution ?

Thanks!


Site returns Http status 302 - moved temporarily, so you should follow redirections. See http://php.net/manual/en/function.curl-setopt.php for CURLOPT_FOLLOWLOCATION and CURLOPT_MAXREDIRS

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号