Skip to content

Commit

Permalink
FIX:格式错误
Browse files Browse the repository at this point in the history
  • Loading branch information
ShilongLee committed Jun 22, 2024
1 parent 2fe37cf commit 272fc9a
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions service/bilibili/logic/common.py
Original file line number Diff line number Diff line change
Expand Up @@ -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 = {}
Expand Down

0 comments on commit 272fc9a

Please sign in to comment.