-
Notifications
You must be signed in to change notification settings - Fork 9.7k
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
Twitch Clips: Is there an option to use the human readable ID as part of the Output Template? #29666
Comments
Looking at your example, which I assume is https://clips.twitch.tv/embed?clip=GleamingGentleGarageJebaited-fapOh70bAsfNoU3C&parent=cyberpost.co, the ID is initially recognised as The extractor could extract the original ID as
For this, this line
has to be added in the |
Oh thanks so much for this! I already resorted to just putting the entire youtube-dl output to a variable and grepping the required lines out of it to change the filenames afterwards, but this is a much better solution that wont break as soon as even a single character gets added to the output lines haha :) |
PR: ytdl-org/youtube-dl#29684 Fixes: ytdl-org/youtube-dl#29666 Authored by: dirkf
* 'master' of https://github.com/yt-dlp/yt-dlp: Add regex to `--match-filter` Add all format filtering operators also to `--match-filter` [twitch:clips] Extract `display_id` PR: ytdl-org/youtube-dl#29684 Fixes: ytdl-org/youtube-dl#29666 Handle `BrokenPipeError` PR: ytdl-org/youtube-dl#29505 Fixes: ytdl-org/youtube-dl#29082 [ffpmeg] Allow `--ffmpeg-location` to be a file with different name Ensure sanitization of infodict before printing to stdout Fix `--compat-options filename` (#629) [Newgrounds] Improve extractor and fix playlist (#627) [nbcolympics:stream] Fix extractor [RCTIPlus] Support events and TV (#625)
PR: ytdl-org/youtube-dl#29684 Fixes: ytdl-org/youtube-dl#29666 Authored by: dirkf
Hi!
Im in the progress of archiving a huge amount of twitch clips, but i would require the human readable ID (e.g.
GleamingGentleGarageJebaited-fapOh70bAsfNoU3C
) to be saved in the filename. Youtube-dl itself considers the ID to be1235515999
which wont work with what i need it to do. Ive tried all of the output%(NAME)s
substitutions i could think of and nothing seems to be what im searching for.Im not sure whether this is a new feature request or just me NOT seeing something that is possible, so i placed this under "question".
Thanks for any help :)
The text was updated successfully, but these errors were encountered: