add ProxyManager

This commit is contained in:
2024-04-06 09:11:23 +02:00
parent 640d609fb2
commit 302294fe06
3 changed files with 12 additions and 3 deletions
+1 -1
View File
@@ -57,7 +57,7 @@ class LinkValidator(threading.Thread):
'Sec-Fetch-Site': 'same-origin',
'Sec-Fetch-Dest': 'document',
'Accept-Language': 'fr-FR,fr;q=0.6'}
_proxy_to_use = random.choice(self.proxy_manager.get_link_validate_proxy())
_proxy_to_use = random.choice(self.proxy_manager.get_link_validate_proxy(self.link_to_validate_list))
print(_proxy_to_use)
print("received cookie is " + str(self.cookie_str))
try: