我想从 youtube 下载播放列表,其中播放列表中的前 6 个视频已被他们的频道删除。当我尝试使用 youtube-dl 下载它时,由于找不到第一个视频,它被中断了。然后它终止,但不继续下载下一个视频。如何从播放列表中的第 7 个视频及以后下载播放列表。
我使用的命令。
youtube-dl -f 22 https://www.youtube.com/playlist?list=PLO-hrPk0zuI18xlF_480s6UiaGD7hBqJa
Run Code Online (Sandbox Code Playgroud)
Pab*_*abi 11
您可以使用以下开关:
--playlist-items ITEM_SPEC Playlist video items to download. Specify
indices of the videos in the playlist
separated by commas like: "--playlist-items
1,2,5,8" if you want to download videos
indexed 1, 2, 5, 8 in the playlist. You can
specify range: "--playlist-items
1-3,7,10-13", it will download the videos
at index 1, 2, 3, 7, 10, 11, 12 and 13.
Run Code Online (Sandbox Code Playgroud)
所以它会是:
youtube-dl -f 22 --playlist-items 7-X https://www.youtube.com/playlist?list=PLO-hrPk0zuI18xlF_480s6UiaGD7hBqJa
Run Code Online (Sandbox Code Playgroud)
其中 X 是播放列表中的视频数。
| 归档时间: |
|
| 查看次数: |
6911 次 |
| 最近记录: |