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 issue, this command gallery-dl https://twitter.com/ProfDocCee does not download the image downloaded by this command gallery-dl https://twitter.com/ProfDocCee/status/1337409081825497088 #1203

Closed
left1000 opened this issue Dec 27, 2020 · 8 comments

Comments

@left1000
Copy link

Weird twitter issue.

This command:

gallery-dl https://twitter.com/ProfDocCee

does not download the image downloaded by this command:

gallery-dl https://twitter.com/ProfDocCee/status/1337409081825497088

why? and how do I fix it? (note my guess is this has to do with https://twitter.com/ProfDocCee/status/1337409081825497088 being a pinned tweet potentially? maybe?)

@mikf
Copy link
Owner

mikf commented Dec 27, 2020

... being a pinned tweet potentially?

That's probably it. Since it already appeared at the top once, outside the "regular" timeline, Twitter doesn't include it at it's usual position in the timeline again.

It is included in the Media timeline though: https://twitter.com/ProfDocCee/media

$ gallery-dl https://twitter.com/ProfDocCee/media
...
1337409081825497088_1.jpg

@left1000
Copy link
Author

Doesn't the media timeline include retweets though? Ideally my goal is to grab all the art from a twitter account that isn't retweed, should I switch to /media for that purpose then? and it won't grab unwanted retweets?

@left1000
Copy link
Author

Interesting /media grabbed 14 files that the base url didn't.... so it's not JUST pinned tweets? It's a buncha specific ones? I guess?

@left1000
Copy link
Author

Hmm, but /media includes tons of pointless retweets I don't want.... I really feel like gallery-dl needs to somehow be able to handle twitter /media -retweets OR twitter.com/username +pins?

@left1000
Copy link
Author

Here's an example of a url with tons of unwanted retweets https://twitter.com/kdubs_matt/media because actually https://twitter.com/ProfDocCee/media has virtually no retweets but just because that guy doesn't retweet.

@mikf
Copy link
Owner

mikf commented Dec 27, 2020

Doesn't the media timeline include retweets though?

It doesn't. Only the regular timeline includes retweets.
There are also several options to explicitly filter retweets, quoted tweets, videos, etc. Search for extractor.twitter. in https://github.com/mikf/gallery-dl/blob/master/docs/configuration.rst

For example gallery-dl -o retweets=false <TWITTER URL> would ignore all retweeted content.

Here's an example of a url with tons of unwanted retweets https://twitter.com/kdubs_matt/media

Non of these are considered retweets by Twitter

@left1000
Copy link
Author

Okay, so, it's that's twitter's fault and there's nothing gallery-dl can do about it :)

Oh well. It's still weird the pinned tweets aren't grabbed from twitter.com/username I guess all the images I'm calling retweets are reuploads of memes rather than reweets of meme. My bad.

@mikf
Copy link
Owner

mikf commented Dec 29, 2020

@left1000 25074ae adds support for pinned tweets from twitter.com/username

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

2 participants