Skip to content

Commit

Permalink
Fix: not match unknown actor
Browse files Browse the repository at this point in the history
  • Loading branch information
runoob11 committed Feb 1, 2024
1 parent e38989d commit 192c7e0
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/models/crawlers/mdtv.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,8 @@ def get_some_info(html, title, file_path):
# 未找到演员时,看热门演员是否在标题和各种信息里
series = series_list[0] if series_list else ''
tag = ','.join(tag_list)
actor_fake_name = any ('未知' in item for item in actor_list)
actor_list = [] if actor_fake_name else actor_list
if not actor_list:
all_info = title + series + tag + file_path
all_actor = get_actor_list()
Expand Down

0 comments on commit 192c7e0

Please sign in to comment.