Skip to content

Commit

Permalink
Merge pull request #1088 from todoXu/master
Browse files Browse the repository at this point in the history
修复nfo命名-UC-UC重复的问题
  • Loading branch information
mvdctop authored Oct 15, 2023
2 parents 4b58a24 + 925ae98 commit aa893a6
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions core.py
Original file line number Diff line number Diff line change
Expand Up @@ -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))
Expand Down

0 comments on commit aa893a6

Please sign in to comment.