diff --git a/9xiu.py b/9xiu.py index 49b5c0c..dc204f2 100644 --- a/9xiu.py +++ b/9xiu.py @@ -10,7 +10,7 @@ class JXiu: def get_real_url(self): with requests.Session() as s: - url = 'https://h5.9xiu.com/room/live/enterRoom?rid=' + str( self.rid) + url = f'https://h5.9xiu.com/room/live/enterRoom?rid={self.rid}' headers = { 'User-Agent': 'Mozilla/5.0 (iPhone; CPU iPhone OS 11_0 like Mac OS X) ' 'AppleWebKit/604.1.38 (KHTML, like Gecko) Version/11.0 Mobile/15A372 Safari/604.1'