From 441c19ca30cdc21fbdd86b333cdfcc64d1d9f954 Mon Sep 17 00:00:00 2001 From: ihmily <961532186@qq.com> Date: Sat, 9 Mar 2024 17:52:24 +0800 Subject: [PATCH] fix: filter out comma strings in the anchor names --- main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.py b/main.py index b8609cb1..571c0b23 100644 --- a/main.py +++ b/main.py @@ -88,7 +88,7 @@ url_config_file = './config/URL_config.ini' backup_dir = './backup_config' encoding = 'utf-8-sig' -rstr = r"[\/\\\:\*\?\"\<\>\|&.。]" +rstr = r"[\/\\\:\*\?\"\<\>\|&.。,,]" ffmpeg_path = "ffmpeg" # ffmpeg文件路径 default_path = os.getcwd() + '/downloads' os.makedirs(default_path, exist_ok=True)