Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[twitter][info] Use '-o cursor=xxxxxxx' to continue downloading from the current position #5990

Closed
maplestory03 opened this issue Aug 11, 2024 · 2 comments

Comments

@maplestory03
Copy link

maplestory03 commented Aug 11, 2024

Run with A -50 after version update
After analyzing 50 downloaded files, [Twitter] [info] Use '- o cursor=xxxxx' to continue downloading from the current position
Is this normal?
If it's normal, how can I not print this content?

Strangely, not all commands do this
The same - A 50 command
Most of them will appear, sometimes they won't
I checked the probability that the July update added a record of interrupted print download locations, but how can I confirm if this was printed as a normal or abnormal end?

@AlphaCentauri
Copy link

Also running into this same issue. Only difference for me is that I do not use this A -50 flag. Mine is a super basic config so this seems to be a widespread issue.

Command

gallery-dl "https://twitter.com/[account name]" --config "path_to_config_file.json" --write-metadata -o search-endpoint=graphql

Config block

        "twitter":
        {
            "archive": "path_to_archive_file.sqlite3",
            "users": "https://twitter.com/{legacy[screen_name]}",
            "text-tweets":true,
            "quoted":true,
            "retweets":true,
            "replies":true,
            "videos":true,
            "metadata": true,
            "skip": "abort:10",

            "filename": "{author[name]}_{tweet_id}_{num}.{extension}",
            "directory":
            {
                "quote_id != 0"         : ["{user[name]}", "quote-retweets"],
                "reply_id != 0"         : ["{user[name]}", "replies"],
                "retweet_id != 0"       : ["{user[name]}", "retweets"],
                "subcategory == 'likes'": ["{user[name]}", "likes"],
                ""                      : ["{user[name]}"]
            },

            "cookies":
            {
                "auth_token": "thisisacookie##################################"
            },

            "postprocessors":
            [{
                "name": "metadata", 
                "event": "post", 
                "filename": "{author[name]}_{tweet_id}_main.json"
            }]
        },

@mikf
Copy link
Owner

mikf commented Aug 18, 2024

With c0668f5, it is possible to disable any cursor output by setting cursor to a false-y value, e.g. -o cursor=0.

@mikf mikf closed this as completed Aug 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants