Skip to content

Commit

Permalink
fix(theporndb): title match (#124)
Browse files Browse the repository at this point in the history
  • Loading branch information
sqzw-x committed Mar 7, 2024
1 parent 04181ba commit 574c7a3
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/models/crawlers/theporndb.py
Original file line number Diff line number Diff line change
Expand Up @@ -147,8 +147,7 @@ def get_real_url(res_search, file_path, series_ex, date):

# 没有系列时,只判断标题
else:
if res_title_nospace in temp_file_path_nospace:
res_title_list.append([res_id_url, res_actor_title_space])
res_title_list.append([res_id_url, res_actor_title_space])

# 系列+日期命中时,一个结果,直接命中;多个结果,返回相似度高的
if len(res_date_list):
Expand Down Expand Up @@ -431,7 +430,8 @@ def main(number, appoint_url='', log_info='', req_web='', language='zh_cn', file
# print(main('', file_path='AdultTime.20.02.14.Angela.White.And.Courtney.Trouble.Love.Lust.Respect.XXX.1080p.MP4-KTR.mp4')) # 系列错了
# print(main('', file_path='AdultTime.20.02.17.Angela.White.Full.Body.Physical.Exam.XXX.1080p.MP4-KTR.mp4')) # 无命中演员,视为失败
# print(main('', file_path='SexArt_12.04.13-Elle Alexandra & Lexi Bloom & Malena Morgan-Stepping-Out_SexArt-1080p.mp4')) # 多个,按相似度命中
print(main('', file_path='SexArt.12.04.13 Sex Art.mp4')) # 多个,按相似度命中
# print(main('', file_path='SexArt.12.04.13 Sex Art.mp4')) # 多个,按相似度命中
print(main('', file_path='nubilefilms-all-work-and-no-play.mp4'))
# print(main('', file_path='SexArt_12.04.13-Elle Alexandra & Malena Morgan-Under-The-Elle-Tree_SexArt-1080p.mp4')) # 多个,按相似度命中
# print(main('', file_path='SexArt_12.04.13-Elle Alexandra & Rilee Marks-Whispers_SexArt-1080p.mp4')) # 多个,按相似度命中
# print(main('', file_path='SexArt_12.04.13-Hayden Hawkens & Malena Morgan-Golden_SexArt-1080p.mp4')) # 多个,按相似度命中
Expand Down

0 comments on commit 574c7a3

Please sign in to comment.