-
-
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
Let youtube-dl handle filename (as option) #395
Comments
using gallery-dl -K [twitter video links] too see if there have any pattern for that |
I'm not sure I understand what you mean? I want the full URL to simply be passed along to youtube-dl, having it deal with it as it normally does. The example above was what youtube-dl names it as. What I've been doing to work around this is using the #!/bin/sh
list=$("mktemp")
gallery-dl -g "$1" | grep ytdl | sed 's/ytdl://' > "$list"
youtube-dl --ignore-errors --batch-file "$list"
rm "$list" |
I think he means you might be able to get gallery-dl itself (with its Edit: btw you can use |
Added an
|
Outstanding, I really didn't expect such fast action on my silly issue, but this works perfectly!
|
When downloading videos from twitter via gallery-dl, it will get the same type of filename as images, as in:
X08zuH9Yrxnh5I1Z.mp4
instead ofFoxes - https -_t.co_hcu0b37uzZ-1165001339098804224.mp4
, assuming one has set"{filename}.{extension}"
for filename.This is useful for pictures (to me at least), but not for videos. (as the filename videos is quite.. useless.)
So I'm requesting there to be an option to leave all naming of files to youtube-dl, maybe setting downloader.ytdl.naming to true or something along those lines.
The text was updated successfully, but these errors were encountered: