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)
+5 -1
View File
@@ -2,6 +2,10 @@ ES_PROXY_MOBILE = {
'http': 'http://9972280-mobile-country-ES:hex2f4xnw@109.236.94.16:13805',
'https': 'http://9972280-mobile-country-ES:hex2f4xnw@109.236.94.16:13805'
}
ES_PROXY_RES = {
'http': 'http://08241c84-655034:7jd8chsbg@185.100.233.101:39232',
'https': 'http://08241c84-655034:7jd8chsbg@185.100.233.101:39232'
}
IT_PROXY_MOBILE = {
'http': 'http://9972284-mobile-country-IT:28blddao6a@62.112.9.140:13124',
@@ -26,4 +30,4 @@ DE_PROXY_RES = {
}
# FR_PROXY_MOBILE
# FR_PROXY_RES
PROXY_LIST = [FR_PROXY_MOBILE, DE_PROXY_MOBILE, ES_PROXY_MOBILE, IT_PROXY_MOBILE]
PROXY_LIST = [FR_PROXY_MOBILE, FR_PROXY_RES, DE_PROXY_RES, DE_PROXY_MOBILE, ES_PROXY_MOBILE, IT_PROXY_MOBILE]