mirror of
https://github.com/Xtao-Labs/iShotaBot.git
synced 2024-11-16 04:35:55 +00:00
🐛 修复 b av 号错误
This commit is contained in:
parent
6751ee02a0
commit
c1408b1a31
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user