mirror of
https://github.com/moparisthebest/SickRage
synced 2024-12-12 11:02:21 -05:00
Fix for rss torrent feeds, resolves issue #32
This commit is contained in:
parent
ad339a9b2e
commit
77696cad66
@ -113,7 +113,6 @@ class TorrentRssProvider(generic.TorrentProvider):
|
||||
if url.startswith('magnet:') and re.search('urn:btih:([\w]{32,40})', url):
|
||||
return (True, 'RSS feed Parsed correctly')
|
||||
else:
|
||||
|
||||
torrent_file = self.getURL(url)
|
||||
try:
|
||||
bdecode(torrent_file)
|
||||
|
@ -1364,9 +1364,8 @@ class ConfigProviders:
|
||||
return providerDict[name].getID() + '|' + providerDict[name].configStr()
|
||||
|
||||
else:
|
||||
|
||||
newProvider = rsstorrent.TorrentRssProvider(name, url)
|
||||
sickbeard.TorrentRssProviderList.append(newProvider)
|
||||
sickbeard.torrentRssProviderList.append(newProvider)
|
||||
return newProvider.getID() + '|' + newProvider.configStr()
|
||||
|
||||
@cherrypy.expose
|
||||
|
Loading…
Reference in New Issue
Block a user