Archive

Posts Tagged ‘youtube-dl’

download with youtube-dl

June 20, 2017 Leave a comment

For downloading a YouTube playlist, or for downloading all the videos of a YouTube user, I use this script:

URL="https://..."    # youtube user / playlist

youtube-dl --ignore-errors --download-archive downloaded.txt -f 22 "$URL"

The videos will be saved in .mp4 format. You can stop the script and re-run it later. The already saved videos are stored in downloaded.txt and they will be skipped if you re-run the script.

Advertisements
Categories: bash Tags: ,