网址打码,老师站自动说谢谢,每次100魔力![](http://tb2.bdstatic.com/tb/editor/images/face/i_f01.png?t=20140803)
代码粘这里了
cookie换成自己的,网址自己改
“
import requests
from tqdm import tqdm
headers = {
'User-Agent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36\
(KHTML, like Gecko) Chrome/113.0.0.0 Safari/537.36 Edg/113.0.1774.42',
'cookie': '',
'referer': ''
}
for i in tqdm(range(46442, -1, -1)):
try:
thank_url = 'https://xxx.xxxxxx.xxx/thanks.php'
thank_params = {
'id': i
}
headers['referer'] = f'https://xxx.xxxxxx.xxx/details.php?id={i}&hit={i/50}'
resp = requests.post(thank_url, headers=headers, data=thank_params)
# print(resp)
except:
print(f'error: {i}')
continue
”
![](http://tiebapic.baidu.com/forum/w%3D580/sign=6e9d662db203918fd7d13dc2613f264b/56740c24ab18972bd9bd3107a3cd7b899c510add.jpg?tbpicau=2025-02-20-05_3a60fc1cfbcae8b66d5bcabac6475bca)
![](http://tb2.bdstatic.com/tb/editor/images/face/i_f01.png?t=20140803)
代码粘这里了
cookie换成自己的,网址自己改
“
import requests
from tqdm import tqdm
headers = {
'User-Agent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36\
(KHTML, like Gecko) Chrome/113.0.0.0 Safari/537.36 Edg/113.0.1774.42',
'cookie': '',
'referer': ''
}
for i in tqdm(range(46442, -1, -1)):
try:
thank_url = 'https://xxx.xxxxxx.xxx/thanks.php'
thank_params = {
'id': i
}
headers['referer'] = f'https://xxx.xxxxxx.xxx/details.php?id={i}&hit={i/50}'
resp = requests.post(thank_url, headers=headers, data=thank_params)
# print(resp)
except:
print(f'error: {i}')
continue
”
![](http://tiebapic.baidu.com/forum/w%3D580/sign=6e9d662db203918fd7d13dc2613f264b/56740c24ab18972bd9bd3107a3cd7b899c510add.jpg?tbpicau=2025-02-20-05_3a60fc1cfbcae8b66d5bcabac6475bca)