Fixes issues with RSS feeds not being parsed correctly.

This commit is contained in:
echel0n 2014-04-25 04:43:24 -07:00
parent 0d90d01460
commit a74b12f519
1 changed files with 0 additions and 2 deletions

View File

@ -125,9 +125,7 @@ class TorrentRssProvider(generic.TorrentProvider):
return (False, 'Error when trying to load RSS: ' + ex(e))
def getURL(self, url, post_data=None, headers=None):
try:
url = urljoin(url, urlparse(url).path.replace('//', '/'))
response = requests.get(url, verify=False)
except (requests.exceptions.ConnectionError, requests.exceptions.HTTPError), e:
logger.log(u"Error loading " + self.name + " URL: " + ex(e), logger.ERROR)