支持V11

This commit is contained in:
liuwei
2026-02-06 13:25:41 +08:00
parent 2b8329b4b0
commit 500e97dc2c

View File

@@ -328,7 +328,7 @@ class DouyinParserPlugin(MessagePluginInterface):
cleaned = [(u or "").strip().strip("`") for u in urls if u]
def is_vx(n: str) -> bool:
return bool(re.match(r"^v(3|4|5|6|7|8|9|10)(?:[\-.]|$)", n, re.I))
return bool(re.match(r"^v(3|4|5|6|7|8|9|10|11)(?:[\-.]|$)", n, re.I))
def is_douyinvod(n: str) -> bool:
return "douyinvod.com" in n.lower()