TL;DR:我希望通过管道将youtube-dl的输出发送到用户的浏览器,而不必将视频保存到服务器的磁盘上。所以我正在尝试在一个页面(django后台)上有一个“下载”按钮,用户可以在这个页面上下载他们正在观看的视频。我使用的是最新版本的youtube-dl。在我的下载视图中,我有这段代码: with youtube_dl.YoutubeDL(ydl_opts) as ydl:
file = ydl.download([f"https它
我无法使用youtube-dl从Youtube下载视频。下面是密码。请帮帮我!root@itzamlan10:~# sudo apt-get install youtube-dlroot@itzamlan10:~#
root@itzamlan10:~# youtube-dl https://www.youtube.com/watch?Make sure you are using the latest version; ty
我收到消息说,当我试图从youtube下载播放列表时,当我试图更新时,我必须更新youtube-dl,我有以下错误消息:
elshahen@elshahen-LAB:~$ youtube-dl -citBe sure to call youtube-dl with the --verbose flag and include its complete output.Make sure you are using the latest version; type youtube-dl -U to upd