mirror of
https://github.com/wbt5/real-url.git
synced 2025-07-26 02:21:43 +08:00
⚡ 优化代码 艺气山直播
This commit is contained in:
parent
686ff2ca99
commit
662f59f442
2
173.py
2
173.py
@ -9,7 +9,7 @@ class YQS:
|
|||||||
self.rid = rid
|
self.rid = rid
|
||||||
|
|
||||||
def get_real_url(self):
|
def get_real_url(self):
|
||||||
params = 'roomId={}'.format(self.rid)
|
params = f'roomId={self.rid}'
|
||||||
with requests.Session() as s:
|
with requests.Session() as s:
|
||||||
res = s.post('https://www.173.com/room/getVieoUrl', params=params).json()
|
res = s.post('https://www.173.com/room/getVieoUrl', params=params).json()
|
||||||
data = res['data']
|
data = res['data']
|
||||||
|
Loading…
x
Reference in New Issue
Block a user