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
1 changed files with 1 additions and 1 deletions

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)