下载 bilibili 直播 视频流
- requests and socks5 support :
pip install -U requests[socks]
- wget
- ffmpeg
- BeautifulSoup4
- m3u8
- ffmpy
修改config_sample.py
为config.py
,(如有需要)并填入 Server酱 通知的密钥
enable_inform = True
#是否启用Server酱通知inform_url = 'https://sc.ftqq.com/\*\*\*\*.send'
# Server酱 api地址room = '12694411'
# 直播间地址(string)enable_proxy = False
# 是否启用代理服务器请求play_urlproxy = "socks5://127.0.0.1:1080"
# 代理服务器地址use_option_link = False
# 是否使用次要play_url- 如果你是海外用户,请设置为True. 程序会使用play_url[4]中最后一个url,一般在海外有用
- 如果你是国内用户,请设置为False. 程序会使用play_url[4]中第一个url,一般在国内有用
- If you are oversea user, please set this to True. if so, the program will use the last url in play_url, which is generally available for oversea request
- If you are domestic userm please set this to False. if so, the program will use the firt url in play_url, which is available for domestic request