1
0
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:
Adam 2014-09-11 00:25:22 +08:00
parent 58cdb6ba5d
commit b43248a644

View File

@ -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']