From 44310b47a12bc1177efa11d10628020147e99584 Mon Sep 17 00:00:00 2001 From: jaychouzzz Date: Tue, 19 Sep 2023 23:00:23 +0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9E=20fix:=20=E5=8E=BB=E9=99=A4?= =?UTF-8?q?=E4=B8=8D=E5=BF=85=E8=A6=81=E7=9A=84=E4=B8=8A=E4=BC=A0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- main.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/main.py b/main.py index 38140af..61c8efb 100644 --- a/main.py +++ b/main.py @@ -349,6 +349,8 @@ def crawl_shows(ali_drive:Alidrive): for sea_index in range(season_number): ali_drive.aligo.upload_file(f'kodi-tmdb/shows/{show_folder.name}/season{str(sea_index+1).zfill(2)}-poster.jpg',show_folder.file_id,check_name_mode='refuse') + # 重命名show_folder + ali_drive.rename(show_folder.file_id,raw_show_folder_name.split(' ')[0]+' '+raw_show_folder_name.split(' ')[-1],check_name_mode='overwrite') except Exception as e: logger.error(f'剧集信息刮削失败: {e},请检查剧集名称!')