diff --git a/core.py b/core.py index 4f2781a..c13c0c4 100644 --- a/core.py +++ b/core.py @@ -389,7 +389,7 @@ def print_files(path, leak_word, c_word, naming_rule, part, cn_sub, json_data, f print(" 无码", file=code) if hack_word != '': print(" 破解", file=code) - if _4k == '4k': + if _4k == '1': print(" 4k", file=code) for i in tag: print(" " + i + "", file=code) @@ -401,7 +401,7 @@ def print_files(path, leak_word, c_word, naming_rule, part, cn_sub, json_data, f print(" 无码", file=code) if hack_word != '': print(" 破解", file=code) - if _4k == '4k': + if _4k == '1': print(" 4k", file=code) try: for i in tag: @@ -855,7 +855,7 @@ def core_main(movie_path, number_th, oCC, specified_source=None, specified_url=N try: props = get_video_properties(movie_path) # 判断是否为4K视频 if props['width'] >= 4096 or props['height'] >= 2160: - _4k = '4k' + _4k = '1' except: pass