修复nfo命名-UC-UC重复的问题

This commit is contained in:
todoXu
2023-09-25 17:00:43 +08:00
parent 4b58a24592
commit 925ae9842c

View File

@@ -875,15 +875,13 @@ def core_main(movie_path, number_th, oCC, specified_source=None, specified_url=N
if re.search(r'[-_]UC(\.\w+$|-\w+)', movie_path,
re.I):
cn_sub = True
c_word = '-UC' #
hack_word = '-UC' #
hack = True
hack_word = "-UC"
if re.search(r'[-_]U(\.\w+$|-\w+)', movie_path,
re.I):#
hack = True
hack_word = "-U"
hack_word = '-U'
# 判断是否无码
unce = json_data.get('无码')
uncensored = int(unce) if isinstance(unce, bool) else int(is_uncensored(number))