Skip to content

Commit

Permalink
Merge pull request #293 from befantasy/patch-1
Browse files Browse the repository at this point in the history
  • Loading branch information
Evil0ctal authored Oct 13, 2023
2 parents cf86d39 + 9b6de49 commit ae8a488
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scraper.py
Original file line number Diff line number Diff line change
Expand Up @@ -659,7 +659,7 @@ async def get_kuaishou_video_data(self, video_id: str) -> Union[dict, None]:
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'
Expand Down

0 comments on commit ae8a488

Please sign in to comment.