Created
March 12, 2017 13:10
-
-
Save Jiezhi/d02c46449dda06ed0866757bc7ea92c2 to your computer and use it in GitHub Desktop.
replace your curl
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
for (( i=1; i>0; i++ )) | |
do | |
curl 'https://www.google.com/voice/b/0/service/post' -H 'origin: https://www.google.com' -H 'dnt: 1' -H 'accept-encoding: gzip, deflate, br' -H 'accept-language: zh-CN,zh;q=0.8,en;q=0.6' -H 'user-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/55.0.2883.95 Safari/537.36' -H 'content-type: application/x-www-form-urlencoded;charset=UTF-8' -H 'accept: */*' -H 'referer: https://www.google.com/voice/b/0' -H 'authority: www.google.com' -H 'cookie: gv=.........; GV_NR=1;-eVupmL6qR...........ncdG7vO' --data 'sid=...' --compressed | |
sleep 3s | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
求教
获取 curl 链接的代理地址要是跟 vps 不一样是不是会有影响? vps 重新运行脚本, curl 地址会不会失效?需要重新获取 curl 链接不? windows 获取的 curl , vps 是 linux ,看里边有 useragent ,会不会有影响?