mirror of
https://github.com/SickGear/SickGear.git
synced 2024-12-11 05:33:37 +00:00
Fixed newznab to search no more then 1000 results
This commit is contained in:
parent
ba4b408af3
commit
991a93991e
1 changed files with 1 additions and 1 deletions
|
@ -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 a new issue