more proxies

This commit is contained in:
2024-01-12 13:59:46 +01:00
parent 20310bc871
commit 13bedd4d13
3 changed files with 8 additions and 2 deletions
+2 -1
View File
@@ -41,7 +41,8 @@ class CaptchaResultGetter:
proxy_to_use = random.choice(PROXY_LIST)
print("received cookie is " + str(cookie))
try:
response = requests.get(url=HERMES_REGISTER, headers=headers, verify=False, proxies=proxy_to_use)
response = requests.get(url=HERMES_REGISTER, headers=headers, verify=False, proxies=proxy_to_use,
timeout=15)
print(response.status_code)
if response.status_code == 200:
print(response.text)