1
0
mirror of https://github.com/moparisthebest/SickRage synced 2024-12-04 15:12:23 -05:00
lucianot54 2015-01-13 15:23:04 +01:00
parent 8b84e4f4bc
commit 8ae08af5e5

View File

@ -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