Archived
1
0
Fork 0
This commit is contained in:
多羅狼 2023-07-02 23:41:38 +08:00 committed by GitHub
parent 38dd76c248
commit 0fe21654d1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -49,7 +49,7 @@ async def _(msg: Bot.MessageSession, get_detail=False):
async def _(msg: Bot.MessageSession, get_detail=False):
res = msg.matched_msg
if res:
video = res.groups()[1]
video = res.groups()[0]
if video[:2] == "BV":
url = f"{api_url}?bvid={video}"
elif video[:2] == "av":