mirror of
https://github.com/moparisthebest/SickRage
synced 2024-12-04 15:12:23 -05:00
This commit is contained in:
parent
8b84e4f4bc
commit
8ae08af5e5
@ -79,7 +79,7 @@ class T411Provider(generic.TorrentProvider):
|
||||
self.session = requests.Session()
|
||||
|
||||
try:
|
||||
response = self.session.post(self.urls['login_page'], data=login_params, timeout=30, verify=False)
|
||||
response = self.session.post(self.urls['login_page'], data=login_params, timeout=30, verify=False, headers=self.headers)
|
||||
except (requests.exceptions.ConnectionError, requests.exceptions.HTTPError), e:
|
||||
logger.log(u'Unable to connect to ' + self.name + ' provider: ' + ex(e), logger.ERROR)
|
||||
return False
|
||||
|
Loading…
Reference in New Issue
Block a user