mirror of
https://github.com/moparisthebest/SickRage
synced 2024-12-12 11:02:21 -05:00
Fixes issues with RSS feeds not being parsed correctly.
This commit is contained in:
parent
0d90d01460
commit
a74b12f519
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user