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

Ability to download Twitter retweets? #1334

Closed
ghost opened this issue Feb 22, 2021 · 2 comments
Closed

Ability to download Twitter retweets? #1334

ghost opened this issue Feb 22, 2021 · 2 comments

Comments

@ghost
Copy link

ghost commented Feb 22, 2021

This is a bit of an unusual request, but there is an account is mainly a retweet account, and i'd like to be able to download those.

However, from what I can recall, doing such a thing will download the tweeted stuff into folders for the user that was retweeted. While that is correct behavior, I find it kind of messy, and wonder if there is any way to make this neater.

An idea I have is download all the content into a "retweets" folder, that would be made in the account that is retweeting the content. (E.G. @whoever is retweeting something from @Someone. The content from @Someone would go into a folder for @whoever, but in a "retweets" sub folder)

Would what I suggest be at all possible, or would that prove to be a tricky thing to program and implement as an option?

@sbobbo
Copy link

sbobbo commented Mar 3, 2021

This is already doable.

set "retweets": true

then you need to use the -K flag to view what parameters can be used for file/directory names. ex:

gallery-dl -K https://twitter.com/deilan12art

Ultimately though, one of my files does the following for grabbing retweets:

"directory": ["X_twitterRT-{user[name]}"],
"filename": "{author[name]}-{date:%Y-%m-%d}-{tweet_id}_{num}-{filename}.{extension}",

This puts all retweets in a single folder under the name of the retweeter (@whoever), but the filenames start with the name of who was retweeted( @Someone)

@Hrxn
Copy link
Contributor

Hrxn commented Jun 27, 2021

I think this issue can be closed.

@mikf mikf closed this as completed Dec 3, 2022
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