优化抖音分析内容

This commit is contained in:
liuwei
2025-08-13 10:33:50 +08:00
parent 36267a4974
commit cbceb71681

View File

@@ -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文件夹