Last active
September 24, 2024 16:19
-
-
Save glowinthedark/ae31ba397154e7ec5300e8d8ba81778e to your computer and use it in GitHub Desktop.
yt-dlp download from local m3u8 playlist files
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
find . -iname "*.m3u*" -exec yt-dlp --enable-file-urls file://$PWD/{} \; | |
# same as above with subshell | |
find * -iname '*.m3u*' -print -exec sh -c 'yt-dlp --enable-file-urls "file://$PWD/${1}"' _ {} \; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment