Create a gist now

Instantly share code, notes, and snippets.

What would you like to do?
replace your curl
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

szh7379 commented Mar 28, 2017

求教
获取 curl 链接的代理地址要是跟 vps 不一样是不是会有影响? vps 重新运行脚本, curl 地址会不会失效?需要重新获取 curl 链接不? windows 获取的 curl , vps 是 linux ,看里边有 useragent ,会不会有影响?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment