1

我正在尝试从 youtube 下载播放列表,但我总是遇到这个问题:

youtube-dl 下载视频、声音和合并。

但是当它试图删除其余部分时,没有任何进展。

[fishticker@archsamsung F1.4]$ youtube-dl https://www.youtube.com/watch?v=cKlJrMyWAE0&list=PLBD47CE9F15D97BEC
[2] 3822
[fishticker@archsamsung F1.4]$ [youtube] cKlJrMyWAE0: Downloading webpage
[youtube] cKlJrMyWAE0: Extracting video information
[youtube] cKlJrMyWAE0: Downloading DASH manifest
[download] Destination: J-doe  - #iongivafuhabownuhn (I Don't Give A Fuck About Nothing)-cKlJrMyWAE0.f137.mp4
[download] 100% of 54.17MiB in 01:29
[download] Destination: J-doe  - #iongivafuhabownuhn (I Don't Give A Fuck About Nothing)-cKlJrMyWAE0.f141.m4a
[download] 100% of 5.28MiB in 00:04
[ffmpeg] Merging formats into "J-doe  - #iongivafuhabownuhn (I Don't Give A Fuck About Nothing)-cKlJrMyWAE0.mp4"
Deleting original file J-doe  - #iongivafuhabownuhn (I Don't Give A Fuck About Nothing)-cKlJrMyWAE0.f137.mp4 (pass -k to keep)
Deleting original file J-doe  - #iongivafuhabownuhn (I Don't Give A Fuck About Nothing)-cKlJrMyWAE0.f141.m4a (pass -k to keep)
4

1 回答 1

8

这是一个 shell 问题而不是 youtube-dl 问题,因为 url 包含一个&字符,您必须引用 url:

youtube-dl 'https://www.youtube.com/watch?v=cKlJrMyWAE0&list=PLBD47CE9F15D97BEC'

否则 youtube-dl 只会得到https://www.youtube.com/watch?v=cKlJrMyWAE0(您可以通过运行带有--verbose选项的 youtube-dl 来检查这一点)。youtube-dl README中有更多信息。

于 2015-06-11T09:11:32.617 回答