mirror of
https://github.com/moparisthebest/SickRage
synced 2024-12-12 11:02:21 -05:00
Fixing more newznab issues sigh
This commit is contained in:
parent
58cdb6ba5d
commit
b43248a644
@ -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 New Issue
Block a user