Merge pull request #293 from befantasy/patch-1

This commit is contained in:
Evil0ctal 2023-10-13 16:42:04 -07:00 committed by GitHub
commit ae8a488318
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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'