简介
You-Get is a tiny command-line utility to download media contents (videos, audios, images) from the Web, in case there is no other handy way to do it.
如果没有其他便捷的方法,You-Get是一个微型命令行实用程序,可从Web下载媒体内容(视频,音频,图像)。
github地址:https://github.com/soimort/you-get
安装
Ubuntu推荐使用pip安装:pip3 install you-get
升级:pip3 install --upgrade you-get
使用
选项--info/-i
查看可选择的视频质量或者样式:
1 | site: YouTube |
若不使用-i
选项则下载默认的资源。
然后可以通过you-get --tag=18 'https://www.youtube.com/watch?v=QMysfgCTkBE'
下载。
另外可以通过you-get
下载图片等等其它资源。
可以通过使用Nginx搭建简单的下载服务器,通过you-get下载到服务器中,再使用nginx在线访问或者下载。
其它
Youtube视频下载:youtube-dl
Ubuntu安装:sudo apt install youtube-dl
使用youtube-dl
下载视频也非常不错,可以直接下载原画。