YT-DLP
yt-dlp is a feature-rich command-line audio/video downloader with support for thousands of sites.
https://github.com/yt-dlp/yt-dlp?#release-files
yt-dlp.exeをダウンロードし、URLを引数にして実行する。
yt-dlp.exe https://www.youtube.com/watch?v=FCt2mryVhtM→「もうええでしょ [FCt2mryVhtM].mp4」がダウンロードされる。
以上
補足
ダウンロード時に以下の警告メッセージが出力されます。低画質のmp4ファイルのダウンロードで良い場合は対処不要です。
WARNING: ffmpeg not found. The downloaded format may not be the best available. Installing ffmpeg is strongly recommended: https://github.com/yt-dlp/yt-dlp#dependenciesFFmpeg Static Auto-Builds
https://github.com/yt-dlp/FFmpeg-Builds#downloads
WINDOWS X64:「ffmpeg-master-latest-win64-gpl.zip」
警告メッセージに従い ffmpeg をダウンロードしてパスを通すと警告が消えてmkvファイルがダウンロードされるようになります。
By default, yt-dlp tries to download the best available quality if you don’t pass any options.
ファイル形式を指定しない場合は、最も高画質な形式でダウンロードされます。
You can also use a file extension (currently 3gp, aac, flv, m4a, mp3, mp4, ogg, wav, webm are supported) to download the best quality format of a particular file extension served as a single file.
ファイルの拡張子は、-f mp4 のように指定できます。
コメントを残す