https://github.com/yt-dlp/yt-dlp
pip install yt-dlp
Installing collected packages: brotli, websockets, pycryptodomex, mutagen, yt-dlp
yt-dlp -F https://www.youtube.com/watch?v=Qc7_zRjH808
[youtube] Extracting URL: https://www.youtube.com/watch?v=Qc7_zRjH808
[youtube] Qc7_zRjH808: Downloading webpage
[youtube] Qc7_zRjH808: Downloading android player API JSON
[info] Available formats for Qc7_zRjH808:
ID EXT RESOLUTION FPS CH │ FILESIZE TBR PROTO │ VCODEC VBR ACODEC ABR ASR MORE INFO
yt-dlp -f bestvideo+bestaudio url
youtube-dl --sub-lang {{en}} --write-sub '{{https://www.youtube.com/watch?v=Mwa0_nE9H7A}}'
youtube-dl -x --audio-format {{mp3}} '{{url}}'
https://github.com/yt-dlp/yt-dlp#format-selection-examples
$ yt-dlp -f "bv+ba/b"
-f 'bestvideo[height<=1080][ext=mp4]+bestaudio[ext=m4a]/best[ext=mp4]/best'
https://cheat-sheets.org/project/tldr/command/yt-dlp/
Comments
Post a Comment