Merge pull request #1938 from Evhorizon/master

Update network.py
This commit is contained in:
Alexandre Flament 2022-11-06 21:20:38 +01:00 committed by GitHub
commit ae54c7d525
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -173,7 +173,7 @@ class Network:
): ):
continue continue
return False return False
response = await client.get("https://check.torproject.org/api/ip", timeout=10) response = await client.get("https://check.torproject.org/api/ip", timeout=60)
if not response.json()["IsTor"]: if not response.json()["IsTor"]:
result = False result = False
Network._TOR_CHECK_RESULT[proxies] = result Network._TOR_CHECK_RESULT[proxies] = result