2 ms·
Made a config file at the same location where `youtube-dl` stores its. ~/.config/youtube-dl/config.yt-dlp: --restrict-filenames --output '%(title)s.%(
by pdimitar 5y ago
Made a config file at the same location where `youtube-dl` stores its.
~/.config/youtube-dl/config.yt-dlp:
--restrict-filenames
--output '%(title)s.%(ext)s'
--ignore-errors
--embed-subs
--all-subs
--format 'bestvideo[ext=mp4]+bestaudio[ext=m4a]/best[ext=mp4]/best'
--embed-thumbnail
--audio-quality 0
--add-metadata
--xattrs
--xattr-set-filesize
--prefer-free-formats
--geo-bypass
--no-mark-watched
--console-title
--no-warnings
--downloader aria2c
--downloader-args '-j 16 -s 16 -x 16 -k 1M'
Only the last 2 lines are pertinent here but I am including my entire config because it serves me very well.
And my ~/.zshrc alias:
alias ytdl="yt-dlp --config-location ~/.config/youtube-dl/config.yt-dlp"
- gaws 5y agoThank you.