Merge pull request #1088 from todoXu/master

修复nfo命名-UC-UC重复的问题
This commit is contained in:
Yoshiko2
2023-10-16 07:33:54 +08:00
committed by GitHub

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))