python 爬虫过h2协议的5秒盾
2023-11-22 本文已影响0人
a十二_4765
安装过五秒盾的库 pip install curl_cffi
"""
from curl_cffi import requests
url ='https://www.bitget.com/support/_next/data/D4QXDehNSreRghXr0ijwa/en/support/sections/12508313404800/1.json?slug=12508313404800'
response = requests.get(url, impersonate='chrome110').json
print(response)
""""