From 01cacfc371feb19daa30f6e26462ebc9c10db1ef Mon Sep 17 00:00:00 2001 From: wbt5 Date: Sat, 17 Oct 2020 09:17:48 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=20=E8=A5=BF=E7=93=9C?= =?UTF-8?q?=E7=9B=B4=E6=92=AD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ixigua.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ixigua.py b/ixigua.py index 0e11989..10220f8 100644 --- a/ixigua.py +++ b/ixigua.py @@ -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)