mirror of
https://github.com/wbt5/real-url.git
synced 2025-08-02 23:55:46 +08:00
Merge pull request #276 from iceking2nd/master
fix dependency conflict in requirements.txt
This commit is contained in:
commit
b0e319208f
6
douyu.py
6
douyu.py
@ -126,8 +126,10 @@ class DouYu:
|
|||||||
raise Exception('房间未开播')
|
raise Exception('房间未开播')
|
||||||
else:
|
else:
|
||||||
key = self.get_js()
|
key = self.get_js()
|
||||||
return "http://dyscdnali1.douyucdn.cn/live/{}.flv?uuid=".format(key)
|
real_url = {}
|
||||||
|
real_url["flv"] = "http://dyscdnali1.douyucdn.cn/live/{}.flv?uuid=".format(key)
|
||||||
|
real_url["x-p2p"] = "http://tx2play1.douyucdn.cn/live/{}.xs?uuid=".format(key)
|
||||||
|
return real_url
|
||||||
|
|
||||||
if __name__ == '__main__':
|
if __name__ == '__main__':
|
||||||
r = input('输入斗鱼直播间号:\n')
|
r = input('输入斗鱼直播间号:\n')
|
||||||
|
@ -8,7 +8,7 @@ multidict==4.7.6
|
|||||||
protobuf==3.12.2
|
protobuf==3.12.2
|
||||||
pycryptodome==3.9.8
|
pycryptodome==3.9.8
|
||||||
PyExecJS==1.5.1
|
PyExecJS==1.5.1
|
||||||
requests==2.24.0
|
requests==2.26.0
|
||||||
six==1.15.0
|
six==1.15.0
|
||||||
typing-extensions==3.7.4.3
|
typing-extensions==3.7.4.3
|
||||||
urllib3==1.26.5
|
urllib3==1.26.5
|
||||||
|
Loading…
x
Reference in New Issue
Block a user