-
-
Notifications
You must be signed in to change notification settings - Fork 1k
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
is there a way to make gallery-dl twitter.com/username download what it would normally download plus whatever would be downloaded via twitter.com/username/media ? #2252
Comments
/media should contain all media files posted by the user, including the ones in replies. |
Yes, that's what I was saying in my post. twitter.com/username/media DOES include all media files posted by the user including the ones in replies. I want though for twitter.com/username to also include all media files though. I'm not sure why it doesn't?
if I set "content: true" will that make the extractor do what I want? is that my issue? |
The twitter API only lets you go back 3200 tweets. Maybe there's not as many media tweets in the main feed because there's other tweets besides media tweets (which leaves less room for media tweets). Edit: What I said has nothing to do with replies but it does affect the amount of media you'll get in the main feed. |
What's that? I haven't seen this option... You probably want to use urls like that then: twitter.com/username/with_replies to get tweets and tweets with replies in gallery-dl. |
I do not want tweets with replies.... gallery-dl twiiter.com/username to function the same as gallery-dl twitter.com/username/media twitter.com/username having to type the same thing twice (as in the above command) seems redundant.... Also the 3200 tweet limit isn't at play here because in my test case the author posted some media like a week ago and then replied to his own tweet with more media (it was a comic with more panels in the replies he made to himself)..... Essentially the reason I like to use twitter.com/username is because very specifically I do not want anything from twitter.com/username/with_replies because content from twitter.com/username/with_replies is usually total trash. UNLESS the content is under twitter.com/username/media in which case then yes it might be worthwhile as in the case of a comic panel reply. In the past I had assumed that twitter.com/username/media was a subset of twitter.com/username and that twitter.com/username was a subset of twitter.com/username/with_replies I now realize that this is false. Still using the command gallery-dl twitter.com/username/media twitter.com/username will achieve the result I want. The only issue is that this command seems so... obvious that surely there must be an extractor option to make this the default behavior for gallery-dl twitter.com/username and if there is not an extractor option for twitter to make things work as I'm trying to describe here? there should be, because as far as I can tell this is the main set of things a person can want from a twitter rip. |
Ok, when you do That's enough for most people I guess. I think I've noticed something though: @mikf I think you can implement this behavior for this - i.e. download media from URL-user's replies only, when logged in. |
Yes, you did a good job of explaining the issue, it's threaded media replies that I want to get, with zero other replies (because most replies are terrible). Sorry I can't explain myself better, I barely understand how twitter works. |
You don't get all other replies, only those which are directly replied to by the Anyway, as I said, getting |
Unfortunately I want to be logged into twitter because a number of twitters I follow are private. and the general use case is perhaps solved for others who don't have a twitter account already/anyways. |
Wait for the author, I think he will add what you want soon. |
Use a script which you pass the links to. The main problem will be placing the script in a place where it's immediately available without having to use full path or change to the folder. |
I don't think it's a big deal, to be honest. |
Like many ppl would say: mind blown. |
I could add an
|
I do wonder if twitter.com/USER/media is just what I should be using instead. What does twitter.com/USER include that isn't included in twitter.com/USER/media ? I'm actually not sure I know what it includes whatsoever (anything?) |
Retweets. |
I do want retweets a twitter user makes that are retweets of their own tweets, because they bypass the 3200 tweet scan limit (if they retweet something old of theirs)... But I do not want retweets that they make that are other people's art from other twitters.... but I could've sworn that this second type of retweet wasn't included in twitter.com/USER ? because as far as I can recall I've never seen it appear there? does this have anything to do with the
extractor setting? In fact what does the above extractor setting do? if anything? for twitter? |
It does include them. Since v1.18.0 retweets are disabled in gallery-dl by default, including self-retweets, so if you didn't enable them in your config you weren't downloading any of them. If you want user's older tweets you can use twitter search.
I don't know where you got it, but it doesn't do anything.
I have already said that you can simply add second option for extractor.twitter.replies which will download tweets where author = user from url, except for retweets. |
Okay, then, I guess for me, I'll just use twitter.com/USER/media although if and when an option to enable only self-retweets exists I'd probably come back, turn that on, and start doing twitter.com/USER and twitter.com/USER/media both again? If I have an option that does nothing it's likely I copy pasted it from the settings for another extractor, I did really type any of my options they're all defaults+copypastes of defaults from another extractor I thought would work. |
Don't do this, by the way. Not a sane assumption to make, even when there are some options that actually are "universal" (like |
I've never done it on purpose, I think the problem mostly stems from my gallery.conf file having been created in early 2020 so it's probably not as nice as a brand new one would be? |
Wait that's how it works? OT but this makes me wonder: given I generally want all of the author's own content and don't mind other authors' content if necessary (like in this case, where some of the old inaccessible stuff can be referenced in the author's own retweet), how should one determine the URL to pass for a given extractor, other than trial & error? |
I always run gallery-dl twitter.com/username twitter.com/username/media because I'm never really sure what's correct |
If If you want all user's content + retweets then |
Does #2226 (comment) mean this can be closed? |
Is there a way to make gallery-dl twitter.com/username download what it would normally download plus whatever would be downloaded via twitter.com/username/media ?
I thought it was already working this way, I actually for some reason thought /media content was a subset of the main twitter url, but I guess that's false... because artists reply to themselves with their own art, which falls under tweets and replies which no one wants because most replies don't have 'content'
tl;dr anyways I just realized the dozens of rips of twitter's I've done over the past year are likely missing dozens of content posts because I guess I want both twitter.com/username and twitter.com/username/media both but I've only ever typed the one?
The text was updated successfully, but these errors were encountered: