如何下载带有 ytdl / ytdlp 嵌入章节信息的整个 YouTube 播放列表?

问题描述 投票:0回答:2

我用它来下载带有章节信息的单个文件。 ▶️

yt-dlp -f "bestvideo[height<=720]+bestaudio/best[height<=720]" -o "%USERPROFILE%\Desktop\%(title)s-%(id)s.%(ext)s" --embed-chapters https://www.youtube.com/watch?v=

我尝试做🤔

yt-dlp -f "bestvideo[height<=720]+bestaudio/best[height<=720]" -o --yes-playlist "%USERPROFILE%\Desktop\%(title)s-%(id)s.%(ext)s" --embed-chapters https://www.youtube.com/watch?v=ywyQ_eNNCJU&list=PLI84Sf0aDgazRojpYTLTXFE6Iaf5bkYr_

但是它给出了错误😔

错误:已修复输出名称,但需要下载多个文件: --yes-playlist 'list' 不被识别为内部或外部命令、可操作程序或批处理文件。

使用 ytdl / ytdlp 下载整个 Youtube 播放列表以及每个视频中嵌入的章节信息的命令行是什么?

youtube youtube-dl ytdl yt-dlp
2个回答
2
投票

参数

--yes-playlist
位置错误。
把它放在
-o
之前:
yt-dlp -f "bestvideo[height<=720]+bestaudio/best[height<=720]" --yes-playlist -o "%USERPROFILE%\Desktop\%(title)s-%(id)s.%(ext)s" --embed-chapters https://www.youtube.com/watch?v=ywyQ_eNNCJU&list=PLI84Sf0aDgazRojpYTLTXFE6Iaf5bkYr_


0
投票

“%USERPROFILE%\Desktop%(title)s-%(id)s.%(ext)s”这是什么?

© www.soinside.com 2019 - 2024. All rights reserved.