From d183debc4b10e714f3d0327c5f06829d8361ba3f Mon Sep 17 00:00:00 2001 From: echel0n Date: Fri, 12 Dec 2014 18:03:23 -0800 Subject: [PATCH] Fixed issues regarding KAT torrent provider and feedcache --- sickbeard/providers/kat.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sickbeard/providers/kat.py b/sickbeard/providers/kat.py index 538c69e9..bf9b8c24 100644 --- a/sickbeard/providers/kat.py +++ b/sickbeard/providers/kat.py @@ -233,7 +233,7 @@ class KATProvider(generic.TorrentProvider): searchURL = url + 'usearch/%s/?field=seeders&sorder=desc&rss=1' % urllib.quote(search_string) logger.log(u"Search string: " + searchURL, logger.DEBUG) - entries = self.cache.getRSSFeed(url, items=['entries', 'feed'])['entries'] + entries = self.cache.getRSSFeed(searchURL, items=['entries', 'feed'])['entries'] if entries: break @@ -360,7 +360,7 @@ class KATCache(tvcache.TVCache): searchURL = url + 'tv/?field=time_add&sorder=desc&rss=1' logger.log(u"KAT cache update URL: " + searchURL, logger.DEBUG) - data = self.getRSSFeed(url, items=['entries', 'feed']) + data = self.getRSSFeed(searchURL, items=['entries', 'feed']) if data['entries']: break