-
-
Notifications
You must be signed in to change notification settings - Fork 996
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
Some twitter posts are ignored #2875
Comments
You need to enable cards in your config |
I considered that but didn't realize it had the the 'ytdl' option. I had in my config cards set to true. After switching it to 'ytdl' the videos now work, but the image still fails :
but there is no video in this tweet so it shouldn't pass to yt-dlp |
Yeah, even if you set |
The card type from 1561674543323910144 is not yet supported by gallery-dl, hence it forwards it to ytdl. |
OK, sounds good. But I remember now why I didn't have cards set to "ytdl". The problem is some people post youtube embeds so just running |
What about |
That's my current setup. It won't download the videos in the OP, I guess because they're unsupported so gallery-dl doesn't recognize them as videos to begin with. |
I looked a bit more into this and the video from
I guess I could implement some sort of card filter option with which it would be possible to ignore unwanted cards like YT embeds. |
Sounds great to me! |
just removing the 'type' check seems to work
General support for all(?) unified cards got added in commit 4d7cb0b, meaning it now also downloads There's now also a |
Would it be a good idea to write the URLs blocked by |
gallery-dl does not know which URL a specific card has before applying I could implement this functionality for |
Oh, okay, I just assumed that the URL would already be known somehow for the cards, and that different card types would be rather similar? Apparently not. I mean, the primary use case would only be the Of course, just a suggestion, simply disregard. |
Be warned with some filters on some users. For example |
allow blacklisting domains and 'name:domain', where 'domain' depends on a card's 'vanity_url' value
There are some twitter posts that are embedded somehow such that gallery-dl does not detect them as media.
2 example video URLs:
Both of these can be downloaded via yt-dlp directly but gallery-dl ignores them with the following output:
click to expand
and here is an image URL https://twitter.com/bang_dream_1242/status/1561674543323910144
that fails similarly.
Perhaps notably these posts do not appear under twitter.com/user/media.
The text was updated successfully, but these errors were encountered: