mirror of
https://github.com/SickGear/SickGear.git
synced 2024-12-03 01:43:37 +00:00
Merge pull request #737 from adam111316/torrent_rss
Fix for torrent rss feeds not validating on add
This commit is contained in:
commit
b249efd3d4
1 changed files with 2 additions and 5 deletions
|
@ -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)
|
||||
|
||||
|
|
Loading…
Reference in a new issue