streamlink 安装使用

CentOS

安装:

方法一:

pip install streamlink

方法二(新):

apt-get update
apt-get install python3-pip
pip3 install streamlink

方法三(CentOS):

yum update
yum install python3-pip
pip3 install streamlink

 

使用:

#查看视频信息
streamlink $URL
#下载视频
streamlink $URL best

streamlink -o filename.mp4 $URL best

 

附:PIP未安装,解决pip: command not found....

$ wget https://bootstrap.pypa.io/get-pip.py

$ python get-pip.py

$ pip -V # 查看pip版本

 


解决:pip is configured with locations that require TLS/SSL_witton的博客-CSDN博客

https://linoxide.com/linux-how-to/install-streamlink-twitch-gui-arch-linux/

https://streamlink.github.io/cli.html#tutorial

https://www.jianshu.com/p/220170fbcd0a

https://ywnz.com/linuxjc/6094.html

posted @ 2020-04-05 00:44  冬音  阅读(4611)  评论(0编辑  收藏  举报