diff --git a/gallery_dl/extractor/twitter.py b/gallery_dl/extractor/twitter.py index 420212a1..ff2e858c 100644 --- a/gallery_dl/extractor/twitter.py +++ b/gallery_dl/extractor/twitter.py @@ -1762,9 +1762,8 @@ class TwitterAPI(): yield user elif entry["entryId"].startswith("cursor-bottom-"): cursor = entry["content"]["value"] - if (cursor.startswith("-1|")): - stop = True - if (cursor.startswith("0|")): + if cursor.startswith("-1|") or \ + cursor.startswith("0|"): stop = True if stop or not cursor or not entry: