-
-
Notifications
You must be signed in to change notification settings - Fork 976
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
Feature Request: Twitter - Download Only Replies to Self #1254
Comments
It should be possible with Reply tweets have a nonzero And you should also use search results rather than the regular or media timeline, i.e. |
That works great! I forgot about the -K tag as a whole, so that's
definitely something to keep in mind for looking into filtering down other
sites as well.
…On Wed, Jan 20, 2021 at 4:02 PM Mike Fährmann ***@***.***> wrote:
It should be possible with --filter "reply_id and reply_to ==
author['name']"
Reply tweets have a nonzero reply_id value, which is the tweet id of the
tweet it is replying to, and also a reply_to value, which is the screen
name of the author of the replied-to tweet.
And you should also use search results rather than the regular or media
timeline, i.e. https://twitter.com/search?q=from:USER instead of
https://twitter.com/USER or https://twitter.com/USER/media. Maybe the
media timeline results work as well, but you are better of doing a search.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#1254 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AIJ5CZLMVWAMLMS6U24QR3TS25AH3ANCNFSM4WGYYEPA>
.
--
Regards,
Christopher Williams
|
How do I put that into the .conf file? |
And --filter "reply_id and reply_to == author['name']" didn't work ;-( |
With "twitter":
{
"image-filter": "reply_id and reply_to == author['name']"
}
As a command-line option or when writing this into a config file? |
@mikf I tried to put that line into my config file, but it didn't work ;-( For example [https://twitter.com/PrinceCanary/status/1424882701073453056](this post) yielded that message (and no files downloaded):
Is that an user error? |
Allow setting 'replies to '"self"' to only download from self-replies.
@arisboch |
@mikf I used both with the newest version of gallery-dl fresh off the repo, and it doesn't download the replies Example: https://twitter.com/melatonezone/status/1425274586002862083 |
@arisboch I forgot to mention that you also need to enable the |
@mikf Thanks! 🥳 |
But there's now another problem with some posts: When I try to download this post, it only downloads the post it is a comment to, not the post itself. |
Well, that tweet is a reply to a different user and therefore gets filtered by the |
@mikf The problem with that is that it'll download all replies, which would be a real problem with a sufficiently popular tweet (the "self" option works, though). |
With 749802c and 8a70b94, |
Figure this might be a bit of a stretch, but at the same time figured I'd ask.
Is it possible to have twitter extractor download images from replies, but only if the reply comes from the same username as the originating tweet, but not replies to other users? Or possibly just a reply "whitelist" of sorts where it only downloads the file if a certain, specified username is present as one of the users the reply is targeting?
Noticed several artists would upload large sets as replies to themselves, but they also of course reply to other users with media.
The text was updated successfully, but these errors were encountered: