Bboysoul's Blog

首页 归档 资源 公告

安装最新版本的youtube-dl

January 3, 2018

概述

大家都知道可以使用youtube-dl来下载youtube的视频,但是今天这个软件给我报了一个错误

ERROR: Unable to download webpage: IncompleteRead(5255 bytes read, 1932 more expected) (caused by IncompleteRead(5255 bytes read, 1932 more expected)); please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; see  https://yt-dl.org/update  on how to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.

意思就是你要升级这个软件了。

升级youtube-dl

首先卸载系统上安装好的 sudo apt-get remove -y youtube-dl 之后下载安装 sudo wget https://yt-dl.org/latest/youtube-dl -O /usr/local/bin/youtube-dl

默认就是直接给你放在了/usr/local/bin目录下面 之后修改权限 sudo chmod a+x /usr/local/bin/youtube-dl hash -r 接着你就可以下载你的视频了

欢迎关注我的博客www.bboy.app Have Fun


Tags:
本文总阅读量 本文总访客量 本站总访问量 本站总访客数