2025年9月7日

yt-dlp 下載出錯的處理

 今天下載自己的影片時,報錯:

ERROR: fragment 1 not found, unable to continue WARNING: Unable to download format 233. Skipping... ERROR: [youtube] SUUCVy9Ntrs: Requested format is not available. Use --list-formats for a list of available formats

依經驗,應該是 YT 又有新的下載限制,更新到 yt-dlp 最新版應該就可以解決:

yt-dlp -U

如果又出錯:

ERROR: You installed yt-dlp with pip or using the wheel from PyPi; Use that to update

代表你不是用 apt 管道安裝,改用:

pip install -U yt-dlp

應該就可以囉~