Skip to content

Instantly share code, notes, and snippets.

@emilyst
Last active May 13, 2023 18:47
Show Gist options
  • Save emilyst/8aae14a51621af9ce392c54263445be6 to your computer and use it in GitHub Desktop.
Save emilyst/8aae14a51621af9ce392c54263445be6 to your computer and use it in GitHub Desktop.
~/.config/yt-dlp/config
# /usr/local/bin/docker run --name "yt-dlp" --rm -v "/volume1/Media/Clips:/downloads:rw" jauderho/yt-dlp:latest --config-locations /downloads/yt-dlp-config
--batch-file /downloads/to-download.txt
--embed-chapters
--embed-info-json
--embed-metadata
--embed-subs
--embed-thumbnail
--match-filter 'original_url!*=/shorts/'
--mtime
--no-abort-on-error
--part
--retry-sleep fragment:exp=1:20
--sponsorblock-mark default
--sub-langs all,-live_chat
--video-multistreams
--write-annotations
--write-description
--write-info-json
--write-playlist-metafiles
--write-subs
--write-thumbnail
--download-archive /downloads/already-downloaded.txt
# -o '%(extractor_key)s/%(uploader)s/%(title)s (%(upload_date>%Y-%m-%d)s) [%(display_id)s].%(ext)s'
-o '%(extractor_key)s/%(uploader)s/%(channel,playlist,uploader|)s%(channel,playlist,uploader& - |)s%(playlist_index|)04d%(playlist_index& - |)s%(title)s (%(release_date>%Y-%m-%d,upload_date>%Y-%m-%d|Unknown)s) [%(id)s].%(ext)s'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment