From ccc5598774c5bfb1728430f2e9ec64146b3a9126 Mon Sep 17 00:00:00 2001 From: wbt5 Date: Sun, 21 Nov 2021 14:48:42 +0800 Subject: [PATCH] =?UTF-8?q?:art:=20Improve=20=E4=BC=81=E9=B9=85=E4=BD=93?= =?UTF-8?q?=E8=82=B2=E7=9B=B4=E6=92=AD=20-=E4=BC=98=E5=8C=96=E4=BB=A3?= =?UTF-8?q?=E7=A0=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- qie.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/qie.py b/qie.py index 684b8d6..3f3f994 100644 --- a/qie.py +++ b/qie.py @@ -11,7 +11,7 @@ class ESport: def get_real_url(self): with requests.Session() as s: - res = s.get('https://m.live.qq.com/' + str(self.rid)) + res = s.get(f'https://m.live.qq.com/{self.rid}') show_status = re.search(r'"show_status":"(\d)"', res.text) if show_status: if show_status.group(1) == '1':