[deviantart] fix 'manual' cursor-based pagination (#6079)
This commit is contained in:
@@ -1462,6 +1462,8 @@ class DeviantartOAuthAPI():
|
|||||||
return
|
return
|
||||||
|
|
||||||
if "next_cursor" in data:
|
if "next_cursor" in data:
|
||||||
|
if not data["next_cursor"]:
|
||||||
|
return
|
||||||
params["offset"] = None
|
params["offset"] = None
|
||||||
params["cursor"] = data["next_cursor"]
|
params["cursor"] = data["next_cursor"]
|
||||||
elif data["next_offset"] is not None:
|
elif data["next_offset"] is not None:
|
||||||
|
|||||||
Reference in New Issue
Block a user