🐛 修复 b av 号错误

This commit is contained in:
xtaodada 2023-06-03 23:23:09 +08:00
parent 6751ee02a0
commit c1408b1a31
Signed by: xtaodada
GPG Key ID: 4CBB3F4FA8C85659

View File

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