替换自己的羊了个羊token,然后修改循环刷多少次。
import requests
headers = {
“Accept-Encoding”: “gzip,compress,br,deflate”,
“Accept”: “*/*”,
“Connection”: “keep-alive”,
“t”: “替换成抓包的token”,
‘User-Agent’: “Mozilla/5.0 (iPhone; CPU iPhone OS 15_6 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Mobile/15E148 MicroMessenger/8.0.26(0x18001a34) NetType/WIFI Language/zh_CN”
}
cookies = {}
def testRequest():
url = ‘https://cat-match.easygame2021.com/sheep/v1/game/game_over?rank_score=1&rank_state=1&rank_time=0&rank_role=1&skin=1’
wb_data = requests.get(url, headers=headers)
print(“code:”, wb_data.status_code)
if __name__ == ‘__main__’:
# 循环次数想刷多少次
for lp in range(20000):
testRequest()
© 版权声明
文章版权归作者所有,未经允许请勿转载。