Skip to content

Please help me configure gallery-dl to extract twitter content like Twitter Media Downloader extension #4534

Closed Answered by mikf
rarelygoeshere asked this question in Q&A
Discussion options

You must be logged in to vote

First, create a config file by running gallery-dl --config-create

Next, add a twitter section and define a filename format string.

    "extractor":{
        "twitter":{
            "filename": "{author[name]}-{author[id]}({author[date]:%Y%m%d_%H%M%S})-{tweet_id}({date:%Y%m%d_%H%M%S}).{extension}"
        }
    }

You'll also need to login, which can be done with username+password or cookies.

Creating .log and .csv files like you posted should also be possible, but there is no pre-defined way of doing so. You'll have to use a metadata post processor and make extensive use of its options to get somewhat close to what twMD produced.

And as input URL, you should use a plain https://twitter.com…

Replies: 5 comments 4 replies

Comment options

You must be logged in to vote
0 replies

This comment has been hidden.

This comment has been hidden.

Comment options

You must be logged in to vote
3 replies
@rarelygoeshere
Comment options

@Hrxn
Comment options

@rarelygoeshere
Comment options

Answer selected by rarelygoeshere
Comment options

You must be logged in to vote
1 reply
@Wyyvern
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
6 participants