Skip to content

Instantly share code, notes, and snippets.

@Disassembler0
Created August 6, 2019 12:56
Show Gist options
  • Save Disassembler0/4e56238296f3a2122ed088eb90cec693 to your computer and use it in GitHub Desktop.
Save Disassembler0/4e56238296f3a2122ed088eb90cec693 to your computer and use it in GitHub Desktop.
youtube-dl --download-archive "archive.log" -i \
--add-metadata --all-subs --embed-subs --embed-thumbnail \
--match-filter "playlist_title != 'Liked videos' & playlist_title != 'Favorites'" \
-f "(bestvideo[vcodec^=av01][height>=1080][fps>30]/bestvideo[vcodec=vp9.2][height>=1080][fps>30]/bestvideo[vcodec=vp9][height>=1080][fps>30]/bestvideo[vcodec^=av01][height>=1080]/bestvideo[vcodec=vp9.2][height>=1080]/bestvideo[vcodec=vp9][height>=1080]/bestvideo[height>=1080]/bestvideo[vcodec^=av01][height>=720][fps>30]/bestvideo[vcodec=vp9.2][height>=720][fps>30]/bestvideo[vcodec=vp9][height>=720][fps>30]/bestvideo[vcodec^=av01][height>=720]/bestvideo[vcodec=vp9.2][height>=720]/bestvideo[vcodec=vp9][height>=720]/bestvideo[height>=720]/bestvideo)+(bestaudio[acodec=opus]/bestaudio)/best" \
--merge-output-format mkv \
-o "%cd%/%%(playlist_uploader)s/%%(playlist)s/%%(playlist_index)s - %%(title)s - %%(id)s.%%(ext)s" \
"[URL HERE TO CHANNELS PLAYLISTS]"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment