1
0
mirror of https://github.com/moparisthebest/SickRage synced 2024-08-13 16:53:54 -04:00

Merge pull request #1182 from lucianot54/patch-1

Fix for https://github.com/SiCKRAGETV/sickrage-issues/issues/178
This commit is contained in:
echel0n 2015-01-13 19:50:43 -08:00
commit 0bb84466d0

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