支持V11
This commit is contained in:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user