mirror of
https://github.com/SickGear/SickGear.git
synced 2025-01-20 16:43:43 +00:00
Fixing more newznab issues sigh
This commit is contained in:
parent
58cdb6ba5d
commit
b43248a644
1 changed files with 4 additions and 0 deletions
|
@ -303,6 +303,10 @@ class NewznabProvider(generic.NZBProvider):
|
|||
total = int(data.feed.newznab_response['total'] or 0)
|
||||
offset = int(data.feed.newznab_response['offset'] or 0)
|
||||
|
||||
if offset != params['offset']:
|
||||
logger.log("Tell your newznab provider to fix their bloody newznab responses")
|
||||
break
|
||||
|
||||
# if there are more items available then the amount given in one call, grab some more
|
||||
params['offset'] += params['limit']
|
||||
|
||||
|
|
Loading…
Reference in a new issue