trailer is named with '-cd1' tag for multi-part movies

if that matters for some media management software...
This commit is contained in:
loveritsu929@home
2021-07-15 00:57:03 +08:00
parent 6e855cca01
commit aabaf491b9

View File

@@ -802,7 +802,7 @@ def core_main(file_path, number_th, conf: config.Config):
try:
# 下载预告片
if json_data.get('trailer'):
trailer_download(json_data.get('trailer'), leak_word, c_word, number.split('-cd')[0], path, filepath, conf)
trailer_download(json_data.get('trailer'), leak_word, c_word, number, path, filepath, conf)
except:
pass
try: