1
0
mirror of https://github.com/wbt5/real-url.git synced 2025-07-28 20:35:55 +08:00

Compare commits

..

No commits in common. "6126cc19c90ef8137b43abdd4755164cf7356279" and "c1119deda9e1093fc035b81d1bc340c359101c9b" have entirely different histories.

3 changed files with 1 additions and 6 deletions

View File

@ -2,10 +2,6 @@
## 说明
没想到还有这么多朋友发 issue 和邮件咨询问题,感谢大家的支持🎈!因为有时很忙,回复和提交代码的周期会有点长,抱歉哦😋
这个仓库存放的是:获取一些直播平台真实流媒体地址(直播源)和弹幕的 Python 代码实现。获取的地址经测试,均可在 PotPlayer、VLC、DPlayer(flv.js + hls.js)等播放器中播放。
> 🤘👌🤙🙏🐉👉 :如果该项目能帮助到您,欢迎 star 和 pr或在您的项目中标注 Real-Url 为参考来源。

View File

@ -24,7 +24,6 @@ class HuYa:
}
response = requests.get(url=room_url, headers=header).text
livelineurl = re.findall(r'liveLineUrl = "([\s\S]*?)";', response)[0]
livelineurl = base64.b64decode(livelineurl).decode('utf-8')
if livelineurl:
if 'replay' in livelineurl:
real_url = {

View File

@ -1,4 +1,4 @@
aiohttp==3.7.4
aiohttp==3.6.2
async-timeout==3.0.1
attrs==20.2.0
certifi==2020.6.20