Update scraper.py (Hybrid methods支持b23.tv的哔哩哔哩网址)
This commit is contained in:
parent
d5c6d0894f
commit
9b6de49414
1 changed files with 1 additions and 1 deletions
|
|
@ -551,7 +551,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…
Reference in a new issue