From 9b6de49414b0599f4591e0635a4822eeefa6f451 Mon Sep 17 00:00:00 2001 From: befantasy <31535803+befantasy@users.noreply.github.com> Date: Sat, 7 Oct 2023 16:41:37 +0800 Subject: [PATCH] =?UTF-8?q?Update=20scraper.py=20(Hybrid=20methods?= =?UTF-8?q?=E6=94=AF=E6=8C=81b23.tv=E7=9A=84=E5=93=94=E5=93=A9=E5=93=94?= =?UTF-8?q?=E5=93=A9=E7=BD=91=E5=9D=80)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- scraper.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scraper.py b/scraper.py index 60c1bf6..8078d9e 100644 --- a/scraper.py +++ b/scraper.py @@ -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'