From 272fc9a1652aa0300f0f1dc434172f0faa0b37a9 Mon Sep 17 00:00:00 2001 From: ShilongLee <1261586682@qq.com> Date: Sat, 22 Jun 2024 20:26:21 +0800 Subject: [PATCH] =?UTF-8?q?FIX:=E6=A0=BC=E5=BC=8F=E9=94=99=E8=AF=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- service/bilibili/logic/common.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/service/bilibili/logic/common.py b/service/bilibili/logic/common.py index 9bf3387..2c6f340 100644 --- a/service/bilibili/logic/common.py +++ b/service/bilibili/logic/common.py @@ -120,8 +120,7 @@ def detail_request(id: str, headers: dict) -> tuple[dict, bool]: 'script', text=pattern).text.replace('window.__INITIAL_STATE__=', '')) detail_data = target.get('videoData', {}) except Exception as e: - logger.error(f'parse hrml error, id: {id}, headers: { - headers} doc: {document}, err: {e}') + logger.error(f'parse hrml error, id: {id}, headers: {headers} doc: {document}, err: {e}') return {}, False data = {}