1
0
mirror of https://github.com/moparisthebest/SickRage synced 2024-12-12 11:02:21 -05:00

Fixed newznab to search no more then 1000 results

This commit is contained in:
echel0n 2014-09-07 00:56:23 -07:00
parent ba4b408af3
commit 991a93991e

View File

@ -265,7 +265,7 @@ class NewznabProvider(generic.NZBProvider):
results = []
offset = total = 0
while total >= offset:
while total >= (offset or 1000):
search_url = self.url + 'api?' + urllib.urlencode(params)
logger.log(u"Search url: " + search_url, logger.DEBUG)
data = self.cache.getRSSFeed(search_url)