From 192c7e0a7ed899cc29eabb085e86d4b38935a660 Mon Sep 17 00:00:00 2001 From: runoob Date: Sun, 14 Jan 2024 21:51:43 +0800 Subject: [PATCH] Fix: not match unknown actor --- src/models/crawlers/mdtv.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/models/crawlers/mdtv.py b/src/models/crawlers/mdtv.py index 94efea8..d7b3647 100644 --- a/src/models/crawlers/mdtv.py +++ b/src/models/crawlers/mdtv.py @@ -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()