Commit f486f78
Changed files (1)
src/networking.py
@@ -378,6 +378,7 @@ async def flatten_rediercts(texts: str | None = None, pattern: str | None = None
url = matched.group(0)
# v.douyin.com
if matched := re.search(r"(https?://)?v\.douyin\.com/([^.。,,?&/\s]+)", texts):
+ method = "GET" # use GET for v.douyin.com
url = matched.group(0)
# vt.tiktok.com
if matched := re.search(r"(https?://)?vt\.tiktok\.com/([^.。,,?&/\s]+)", texts):