This commit is contained in:
jxxghp
2024-11-14 11:52:56 +08:00
parent 851aa5f9e2
commit 3a826b343a

View File

@@ -36,7 +36,10 @@ class TNodeSiteUserInfo(SiteParserBase):
pass
def _parse_user_detail_info(self, html_text: str):
detail = json.loads(html_text)
try:
detail = json.loads(html_text)
except json.JSONDecodeError:
return
if detail.get("status") != 200:
return