🐞Fix: flask_app 中 User-Agent 的问题.

This commit is contained in:
Weclont
2022-07-05 00:49:42 +08:00
parent 17523cbebc
commit 681d363733
6 changed files with 12 additions and 13 deletions

View File

@@ -89,7 +89,7 @@ async def asyncReqs(src: Union[API, str], phone: Union[tuple, str], semaphore):
async with httpx.AsyncClient(
limits=Limits(max_connections=1000,
max_keepalive_connections=2000),
headers=default_header,
headers=default_header_user_agent(),
verify=False,
timeout=99999
) as c: