Skip to content

Download Quoted Tweet to Appropriate Users Folder? #2722

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

You must be logged in to vote

Do not use -D if you want to download into different directories. -D forces all files to be downloaded into that specific directory.

Use -d (lower case) or base-directory, together with appropriate directory format strings.

This will split Tweet downloads into separate directories depending on retweet/quote status:

            "directory": {
                "retweet_id"              : ["{category}", "{user[name]}", "Retweets", "{author[name]}"],
                "locals().get('quote_by')": ["{category}", "{user[name]}", "Quoted"  , "{author[name]}"],
                ""                        : ["{category}", "{user[name]}"]
            }

Replies: 1 comment 4 replies

Comment options

You must be logged in to vote
4 replies
@Xylemon
Comment options

@mikf
Comment options

mikf Jul 8, 2022
Maintainer

@Hrxn
Comment options

@Xylemon
Comment options

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