mirror of
https://github.com/SickGear/SickGear.git
synced 2025-01-05 17:43:37 +00:00
Fix for rss torrent feeds, resolves issue #32
This commit is contained in:
parent
ad339a9b2e
commit
77696cad66
2 changed files with 1 additions and 3 deletions
|
@ -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 a new issue