mirror of
https://github.com/wbt5/real-url.git
synced 2025-06-16 15:59:57 +08:00
修复 西瓜直播
This commit is contained in:
parent
1b43b716f4
commit
01cacfc371
@ -14,7 +14,7 @@ class IXiGua:
|
||||
headers = {
|
||||
'user-agent': 'Mozilla/5.0 (Windows NT 6.3; WOW64; rv:83.0) Gecko/20100101 Firefox/83.0'
|
||||
}
|
||||
room_url = self.rid
|
||||
room_url = 'https://live.ixigua.com/' + str(self.rid)
|
||||
response = requests.get(url=room_url, headers=headers).text
|
||||
real_url = re.findall(r'playInfo":([\s\S]*?),"authStatus', response)[0]
|
||||
real_url = re.sub(r'\\u002F', '/', real_url)
|
||||
|
Loading…
x
Reference in New Issue
Block a user