这个方法是官方的安装方法,我这里做下收藏。以便以后有需要的时候使用。
GitHub :
https://github.com/ytdl-org/youtube-dl
https://github.com/FFmpeg/FFmpeg
https://github.com/develon2015/SpringDependent
https://ytdl-org.github.io/youtube-dl/download.html
开发后的程序:https://github.com/develon2015/Youtube-dl-REST https://y2b.githmb.com/
To install it right away for all UNIX users (Linux, OS X, etc.), type:
sudo curl -L https://yt-dl.org/downloads/latest/youtube-dl -o /usr/local/bin/youtube-dl sudo chmod a+rx /usr/local/bin/youtube-dl
If you do not have curl, you can alternatively use a recent wget:
sudo wget https://yt-dl.org/downloads/latest/youtube-dl -O /usr/local/bin/youtube-dl sudo chmod a+rx /usr/local/bin/youtube-dl
You can also use pip:
sudo pip install --upgrade youtube_dl
This command will update youtube-dl if you have already installed it. See the pypi page for more information.
You can use Homebrew if you have it:
brew install youtube-dl
To check the signature, type:
sudo wget https://yt-dl.org/downloads/latest/youtube-dl.sig -O youtube-dl.sig gpg --verify youtube-dl.sig /usr/local/bin/youtube-dl rm youtube-dl.sig
0 条评论
表情面板
您的邮箱地址和手机号码不会被公开。 必填项已用 * 标注