某某引擎 浏览器请求正常,Python或者Postman请求返回“哎哟喂,被挤爆啦,请稍后重试”

返回报错内容,省略了一部分返回内容:

{"ret":["FAIL_SYS_USER_VALIDATE","RGV587_ERROR::SM::哎哟喂,被挤爆啦,请稍后重试"],
"data":{"url":"https://hot.tb.com:xxxx"}}

处理方案:
修改requests请求方式:

# 原请求方式
import requests
# ...
response = requests.get('https://hot.tb.xxxxx', headers=headers, params=params")


# 修改后的请求方式
from curl_cffi import requests
# ...
response = requests.get('https://hot.tb.xxxxx', headers=headers, params=params", impersonate="chrome96")

你可能感兴趣的:(某某引擎 浏览器请求正常,Python或者Postman请求返回“哎哟喂,被挤爆啦,请稍后重试”)