feat(beatmapset): use https://catboy.best as global downloading service

This commit is contained in:
MingxuanGame
2025-10-02 14:50:21 +00:00
parent e57702073f
commit 9a77c8d246
2 changed files with 16 additions and 8 deletions

View File

@@ -231,7 +231,7 @@ async def download_beatmapset(
f"https://dl.sayobot.cn/beatmaps/download/{'novideo' if no_video else 'full'}/{beatmapset_id}"
)
else:
return RedirectResponse(f"https://api.nerinyan.moe/d/{beatmapset_id}?noVideo={no_video}")
return RedirectResponse(f"https://catboy.best/d/{beatmapset_id}{'n' if no_video else ''}")
@router.post(