Skip to content

Instantly share code, notes, and snippets.

@mattantonelli
Last active December 8, 2022 15:55
Show Gist options
  • Save mattantonelli/7904e616e70377fcdafb48f7a3799e54 to your computer and use it in GitHub Desktop.
Save mattantonelli/7904e616e70377fcdafb48f7a3799e54 to your computer and use it in GitHub Desktop.
youtube-dl audio only
# List all available formats and download specific audio-only format
youtube-dl -F https://www.youtube.com/watch?v=xFjpTF4-PgI
youtube-dl -f 140 https://www.youtube.com/watch?v=xFjpTF4-PgI
# Download and convert to audio-only format
youtube-dl -x --audio-format m4a https://www.youtube.com/watch?v=xFjpTF4-PgI
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment