We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5bcf800 commit 8a67666Copy full SHA for 8a67666
fengbolive.py
@@ -15,7 +15,8 @@ def __init__(self, rid):
15
16
def get_real_url(self):
17
with requests.Session() as s:
18
- res = s.get('https://external.fengbolive.com/cgi-bin/get_anchor_info_proxy.fcgi?anchorid=' + str(self.rid)).json()
+ res = s.get(f'https://external.fengbolive.com/cgi-bin/get_anchor_info_proxy.fcgi?anchorid={self.rid}')
19
+ res = res.json()
20
if res['ret'] == 1:
21
info = res['info']
22
info = unquote(info, 'utf-8')
0 commit comments