mirror of
https://github.com/luzhisheng/js_reverse.git
synced 2025-04-19 21:09:52 +08:00
11 lines
276 B
Python
11 lines
276 B
Python
from curl_cffi import requests
|
|
|
|
headers = {
|
|
'cookie': 'sessionid=xxxxxxxxx;'
|
|
}
|
|
|
|
# 注意这个 impersonate 参数,指定了模拟哪个浏览器
|
|
r = requests.get("https://match.yuanrenxue.cn/api/match/19?page=3", headers=headers, impersonate="chrome101")
|
|
|
|
print(r.json())
|