Skip to content

Instantly share code, notes, and snippets.

@catichenor
Last active November 12, 2023 18:33
Show Gist options
  • Save catichenor/5c6e739b557431ab29099dc1e06b7638 to your computer and use it in GitHub Desktop.
Save catichenor/5c6e739b557431ab29099dc1e06b7638 to your computer and use it in GitHub Desktop.
Download a YouTube playlist but extract audio only from the movies in that playlist.
#!/usr/bin/env bash
# Download a YouTube playlist but extract audio only from the movies.
yt-dlp --extract-audio -ciw -o "%(title)s.%(ext)s" -v https://www.youtube.com/playlist?list=XXXXXXX_XXXXXX #Replace X's with the playlist characters
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment