Skip to content

Commit

Permalink
修复madouqu番号获取
Browse files Browse the repository at this point in the history
修复madouqu番号获取
  • Loading branch information
anyingxiuluo authored and sqzw-x committed Jul 22, 2024
1 parent cc3bf58 commit 1649b55
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/models/crawlers/madouqu.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,6 @@ def get_detail_info(html, number, file_path):
actor = ''
number = ''
for i, t in enumerate(detail_info):
# if '番號' in t:
# temp_number = re.findall(r'番號\s*:\s*(.+)\s*', t)
if re.search(r'番号|番號', t):
temp_number = re.findall(r'(?:番号|番號)\s*:\s*(.+)\s*', t)
number = temp_number[0] if temp_number else ''
Expand Down

0 comments on commit 1649b55

Please sign in to comment.