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:
parent
ba4b408af3
commit
991a93991e
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user