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 = {}