diff options
| author | 2023-07-15 17:08:47 -0400 | |
|---|---|---|
| committer | 2023-07-15 17:08:47 -0400 | |
| commit | e2f67519f8c1750a71aab3dc56b8345fff21bac5 (patch) | |
| tree | 26770e9b79821f2fa10ed3b07a4669f857db8071 /gallery_dl/extractor/weibo.py | |
| parent | ef30b1fa552fd4ceebdd14bbcc16f30f430883f8 (diff) | |
New upstream version 1.25.8.upstream/1.25.8
Diffstat (limited to 'gallery_dl/extractor/weibo.py')
| -rw-r--r-- | gallery_dl/extractor/weibo.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/gallery_dl/extractor/weibo.py b/gallery_dl/extractor/weibo.py index 805aa53..5a3adc8 100644 --- a/gallery_dl/extractor/weibo.py +++ b/gallery_dl/extractor/weibo.py @@ -170,6 +170,8 @@ class WeiboExtractor(Extractor): yield from statuses if "next_cursor" in data: # videos, newvideo + if data["next_cursor"] == -1: + return params["cursor"] = data["next_cursor"] elif "page" in params: # home, article params["page"] += 1 |
