4 ms·
>I'm not sure why a convenience wrapper is even needed, Author wanted yt-dlp to be fed with a custom text file: "playlists.txt" The script loops through that
by jasode 9mo ago
>I'm not sure why a convenience wrapper is even needed,
Author wanted yt-dlp to be fed with a custom text file: "playlists.txt"
The script loops through that text file, parses it, and then launches yt-dlp for each valid line with a channel name.
- bramhaag 9mo agoWhich is essentially just this: yt-dlp -o "%(channel)s/%(playlist_title)s/%(title)s.%(ext)s" -a playlists.txt I'm not sure if that warrants a HN post
- taylorfinley 9mo agoRight? Just add this to .bashrc: alias yt-pl='yt-dlp -o "%(channel)s/%(playlist_title)s/%(title)s.%(ext)s" -a playlists.txt'
- graynk 9mo agoSo -o "%(channel)s - %(title)s.%(ext)s", --batch-file and optionally --download-archive? https://github.com/yt-dlp/yt-dlp#:~:text=channel%20%28string%29%3A https://github.com/yt-dlp/yt-dlp#:~:text=channel%20%28string... https://github.com/yt-dlp/yt-dlp#:~:text=%2Da%2C%20%2D%2Dbatch%2Dfile https://github.com/yt-dlp/yt-dlp#:~:text=%2Da%2C%20%2D%2Dbat... https://github.com/yt-dlp/yt-dlp#:~:text=%2D%2Ddownload%2Darchive https://github.com/yt-dlp/yt-dlp#:~:text=%2D%2Ddownload%2Dar... Not to mention that the script is clearly LLM-generated