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版本

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

原文地址:https://www.cnblogs.com/wintertone/p/12635527.html