From cbceb7168118bd2e602ffac9191323095d9ee16e Mon Sep 17 00:00:00 2001 From: liuwei Date: Wed, 13 Aug 2025 10:33:50 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96=E6=8A=96=E9=9F=B3=E5=88=86?= =?UTF-8?q?=E6=9E=90=E5=86=85=E5=AE=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- plugins/douyin_parser/main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/douyin_parser/main.py b/plugins/douyin_parser/main.py index 2c099e5..9ea83eb 100644 --- a/plugins/douyin_parser/main.py +++ b/plugins/douyin_parser/main.py @@ -63,7 +63,7 @@ class DouyinParserPlugin(MessagePluginInterface): def __init__(self): super().__init__() self.LOG = logger - self.url_pattern = re.compile(r'https?://v\.douyin\.com/\w+/?') + self.url_pattern = re.compile(r'https?://v\.douyin\.com/[^\s/]+/?') # 注册功能权限 self.feature = self.register_feature() # 修改为使用插件目录下的down_load_dir文件夹