1
0
mirror of https://github.com/moparisthebest/SickRage synced 2024-11-11 03:45:01 -05:00

Merge pull request #737 from adam111316/torrent_rss

Fix for torrent rss feeds not validating on add
This commit is contained in:
adam111316 2014-08-20 16:38:58 +08:00
commit b249efd3d4

View File

@ -95,11 +95,8 @@ class TorrentRssProvider(generic.TorrentProvider):
if not cookie_validator.match(self.cookies):
return (False, 'Cookie is not correctly formatted: ' + self.cookies)
data = self.cache._getRSSData()
if not data:
return (False, 'No data returned from url: ' + self.url)
items = data.entries
items = self.cache._getDailyData()
if not len(items) > 0:
return (False, 'No items found in the RSS feed ' + self.url)