Skip to content

Commit

Permalink
⚡ 优化代码 艺气山直播
Browse files Browse the repository at this point in the history
  • Loading branch information
wbt5 committed Nov 8, 2021
1 parent af57d69 commit 686ff2c
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions 173.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ def __init__(self, rid):
def get_real_url(self):
params = 'roomId={}'.format(self.rid)
with requests.Session() as s:
res = s.post('http://www.173.com/room/getVieoUrl', params=params).json()
res = s.post('https://www.173.com/room/getVieoUrl', params=params).json()
data = res['data']
if data:
status = data['status']
Expand All @@ -35,4 +35,3 @@ def get_real_url(rid):
if __name__ == '__main__':
r = input('输入艺气山直播房间号:\n')
print(get_real_url(r))

0 comments on commit 686ff2c

Please sign in to comment.