Browse Source

增加目录修改规则

main
Fiber 9 months ago
parent
commit
8da2f72234
  1. 2
      copy.py

2
copy.py

@ -34,6 +34,8 @@ else:
sub_name = name_re.group(1) + " " + name_re.group(3)
save_name = name.replace(" [{}]".format(name_re.group(2)), " - {} ".format(name_re.group(2)))
#删除保存文件夹路径的字幕修改标识
sub_name = re.sub(r"\[dv\d\]","", sub_name)
sub_save_dir = os.path.join(save_dir, sub_name)

Loading…
Cancel
Save