Skip to content

Instantly share code, notes, and snippets.

@farshed
Last active September 27, 2021 09:05
Show Gist options
  • Save farshed/c94403360091d63bdffe05313e22cc82 to your computer and use it in GitHub Desktop.
Save farshed/c94403360091d63bdffe05313e22cc82 to your computer and use it in GitHub Desktop.
Install youtube-dl from https://github.com/ytdl-org/youtube-dl#installation, replace <PLAYLIST_ID> with your playlist's id and run.
youtube-dl -ciw --playlist-start 1 -o "%(playlist_index)s-%(title)s.%(ext)s" 'https://www.youtube.com/playlist?list=<PLAYLIST_ID>'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment