youtube-dl \
  --external-downloader aria2c --external-downloader-args '-c -j 3 -x 3 -s 3' \
  --user-agent='Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/77.0.3865.90 Safari/537.36' \
  --limit-rate '7.25M' \
  --retries '3' \
  --no-overwrites \
  --call-home \
  --write-info-json \
  --write-description \
  --write-thumbnail \
  --write-sub \
  --sub-lang en,eng,enUS,en-US,ru,ruRU,ru-RU \
  --convert-subs 'srt' \
  --write-auto-sub \
  --write-annotations \
  --add-metadata \
  --embed-subs \
  -if "(571/401/400/272/337/315/336/308/335/303/399/334/398/313/271/302/299/\
  bestvideo'[ext=webm][height>=?1080][tbr>2650]'/bestvideo'[height=1080][vcodec=avc1.640028][tbr>=3595]'\
  /333/298/248/best'[height=720][vcodec*=avc1.640][vbr>2369]'/bestvideo'[height=720][ext=webm][tbr>1576]'\
  /bestvideo'[height=720][tbr>2205]'/best'[height=720][vcodec*=avc1.640][vbr>1591]'\
  /397/247/396/244/395/136/135/243/bestvideo'[height=360][tbr>=600]'/best'[height>?240][tbr>386][vbr>262]'\
  /242/bestvideo/best)+(251/22/bestaudio'[asr>=?44100][abr>=128]'/43/140/18/bestaudio/best)" \
  --merge-output-format 'mkv' \
  --output '/tmp/%(uploader)s/%(upload_date)s_%(title)s_%(id)s.%(ext)s' \
  -a /tmp/list 
https://askubuntu.com/questions/1022855/download-everything-from-a-youtube-video-using-youtube-dl
--download-archive '/archive/Archive/Archive.ytdlarchive' 
--format 'bestvideo[ext=webm]+bestaudio[ext=webm]//best[ext=webm]/best' 
--restrict-filenames \
https://gist.github.com/ww9/44f08d44327a40d2ab309a349bebec57