From c1408b1a3102cecf92aff4f82927d6a6504eae50 Mon Sep 17 00:00:00 2001 From: xtaodada Date: Sat, 3 Jun 2023 23:23:09 +0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9B=20=E4=BF=AE=E5=A4=8D=20b=20av=20?= =?UTF-8?q?=E5=8F=B7=E9=94=99=E8=AF=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- defs/bilibili.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/defs/bilibili.py b/defs/bilibili.py index 509776e..f856f93 100644 --- a/defs/bilibili.py +++ b/defs/bilibili.py @@ -113,7 +113,7 @@ async def b23_extract(text): async def video_info_get(cid): if cid[:2] == "av": - v = Video(aid=cid[2:], credential=credential) + v = Video(aid=int(cid[2:]), credential=credential) elif cid[:2] == "BV": v = Video(bvid=cid, credential=credential) else: