1
0
mirror of https://github.com/wbt5/real-url.git synced 2025-06-16 15:59:57 +08:00

优化代码 艺气山直播

This commit is contained in:
wbt5 2021-11-08 22:34:51 +08:00
parent 686ff2ca99
commit 662f59f442
No known key found for this signature in database
GPG Key ID: 92D5C42E815A2BD6

2
173.py
View File

@ -9,7 +9,7 @@ class YQS:
self.rid = rid
def get_real_url(self):
params = 'roomId={}'.format(self.rid)
params = f'roomId={self.rid}'
with requests.Session() as s:
res = s.post('https://www.173.com/room/getVieoUrl', params=params).json()
data = res['data']