Merge pull request #293 from befantasy/patch-1
This commit is contained in:
commit
ae8a488318
1 changed files with 1 additions and 1 deletions
|
|
@ -659,7 +659,7 @@ class Scraper:
|
||||||
async def judge_url_platform(self, video_url: str) -> str:
|
async def judge_url_platform(self, video_url: str) -> str:
|
||||||
if 'douyin' in video_url:
|
if 'douyin' in video_url:
|
||||||
url_platform = 'douyin'
|
url_platform = 'douyin'
|
||||||
elif 'bilibili' in video_url:
|
elif 'bilibili' in video_url or 'b23.tv' in video_url:
|
||||||
url_platform = 'bilibili'
|
url_platform = 'bilibili'
|
||||||
elif 'xigua' in video_url:
|
elif 'xigua' in video_url:
|
||||||
url_platform = 'xigua'
|
url_platform = 'xigua'
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue