mirror of
https://github.com/Evil0ctal/Douyin_TikTok_Download_API.git
synced 2025-04-22 09:03:54 +08:00
Merge pull request #293 from befantasy/patch-1
This commit is contained in:
commit
ae8a488318
@ -659,7 +659,7 @@ class Scraper:
|
||||
async def judge_url_platform(self, video_url: str) -> str:
|
||||
if 'douyin' in video_url:
|
||||
url_platform = 'douyin'
|
||||
elif 'bilibili' in video_url:
|
||||
elif 'bilibili' in video_url or 'b23.tv' in video_url:
|
||||
url_platform = 'bilibili'
|
||||
elif 'xigua' in video_url:
|
||||
url_platform = 'xigua'
|
||||
|
Loading…
x
Reference in New Issue
Block a user