我是想频繁搜索 搜狗的搜索结果
频繁请求之后,会进入验证码页面,我想模拟提交验证码,然后进入到跳转到解封的搜索结果页面
现在做到了 模拟提交验证码没问题了,但是我不会抓跳转地址,我抓到的地址返回的信息在下面……
实在是惭愧,对curl太不熟悉。
从curl的返回结果看,现在是这个
HTTP/1.1 100 Continue
HTTP/1.1 302 Moved Temporarily
Server: nginx
Date: Sat, 18 Mar 2017 03:55:28 GMT
Content-Type: text/html
Transfer-Encoding: chunked
Connection: keep-alive
Location: http://weixin.sogou.com/antispider/?from=%2fweixin%3Fie%3dutf8%26query%3d%E4%B9%90%E8%A7%86%E5%80%92%E9%97%AD%26type%3d2%26dp%3d1%26page%3d1
HTTP/1.1 200 OK
Server: nginx
Date: Sat, 18 Mar 2017 03:55:28 GMT
Content-Type: text/html
Transfer-Encoding: chunked
Connection: keep-alive
Vary: Accept-Encoding
X-Powered-By: PHP/5.3.3
Expires: Thu, 19 Nov 1981 08:52:00 GMT
Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0
Pragma: no-cache