Skip to content

Instantly share code, notes, and snippets.

@sturmen
Last active Nov 29, 2018
Embed
What would you like to do?
Nick's youtube-dl Config File
# nick's yt-dl config
# get automatic captions
--write-auto-sub
# put them in the file
--embed-subs
# get the video description
--add-metadata
# prefer free formats but also get other formats as necessary for maximum quality
-f 'bestvideo[fps<=30][height<=1440][ext=webm]+bestaudio[ext=webm]/bestvideo[fps<=30][height<=1440][ext=webm]+bestaudio[ext=m4a]/bestvideo[fps<=30][height<=1440][ext=mp4]+bestaudio[ext=m4a]/best'
# custom naming for files that makes more sense to me
-o %(uploader)s\ -\ %(title)s\ [%(vcodec)s+%(acodec)s\ %(resolution)s].%(ext)s
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment