- HTTP: Schema,网址前半段
- SITE: 网站域名
- COOKIE: 不知道怎么获取的,自己查一下
- MAX: 最新的种子ID,从新往旧比较好
暴力过一遍ID,单线程防止服务器压力太大,伪多线程可以用&
HTTP='https://' | |
SITE='hdhome.org' | |
COOKIE='Your Cookie Here' | |
MAX=30000 | |
for i in {${MAX}..1} | |
do | |
curl "${HTTP}${SITE}/thanks.php" -H "origin: ${SITE}" -H 'accept-encoding: gzip, deflate, br' -H 'accept-language: en,zh-CN;q=0.9,zh;q=0.8' -H 'user-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_4) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/66.0.3359.181 Safari/537.36' -H 'content-type: application/x-www-form-urlencoded' -H 'accept: */*' -H "referer: {SITE}/details.php?id=${i}&hit=1" -H 'authority: ${SITE}' -H "cookie: ${COOKIE}" -H 'dnt: 1' --data "id=${i}" --compressed --connection-timeout 3 | |
echo -------------${i} passed--------------- | |
done |