You've already forked XiguaLiveDanmakuHelper
Emeg Fix : str is not callable
This commit is contained in:
2
api.py
2
api.py
@ -107,7 +107,7 @@ class XiGuaLiveApi:
|
||||
try:
|
||||
d = p.json()
|
||||
except json.decoder.JSONDecodeError as e:
|
||||
print(p.text())
|
||||
print(p.text)
|
||||
return
|
||||
if "data" in d and d["data"] is not None:
|
||||
for i in d["data"]:
|
||||
|
Reference in New Issue
Block a user