Skip to content

Instantly share code, notes, and snippets.

@pauloantonelli
Forked from jkpl/utpl_download.sh
Last active October 7, 2022 15:43
Show Gist options
  • Save pauloantonelli/8b61479165c17df87dcaf221c860a1c1 to your computer and use it in GitHub Desktop.
Save pauloantonelli/8b61479165c17df87dcaf221c860a1c1 to your computer and use it in GitHub Desktop.
Script that downloads Youtube playlist and extracts the audio from the downloaded clips.
#!/bin/bash
youtube-dl --rm-cache-dir --cookies ./youtube.com_cookies.txt --ignore-errors --format bestaudio --extract-audio --audio-format mp3 --audio-quality 160K --output "%(title)s.%(ext)s" --yes-playlist 'https://youtube.com/playlist?list=PL14877460D389BBFA'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment