James Desmond

youtube-dl tips n tricks

Here are some youtube-dl commands I have found useful.

Using browser cookies / credentials with youtube-dl (Useful for downloading paywalled content)

yt-dlp $URL --cookies-from-browser

Downloading an entire artist from bandcamp, putting each album in its own folder with metadata

(Note that public bandcamp streams are going to be 128 kbps audio files. I believe you need to purchase content to access HQ streams.)

yt-dlp $URL -o "%(playlist)s/%(playlist_index)s - %(title)s.%(ext)s" --write-thumbnail --write-all-thumbnails --embed-thumbnail --write-description --write-info-json --add-metadata