ArjixWasTaken / osu-directer

blazingly :rocket::rocket::rocket: fast osu beatmaps downloader
MIT License
9 stars 1 forks source link

Client re-use #5

Closed MaxOhn closed 1 year ago

MaxOhn commented 1 year ago

Depends on #2

Re-using the same blocking client instead of creating new ones.

ArjixWasTaken commented 1 year ago

This is a weird situation, since you share the same code as other PRs, so there are conflicts...

ArjixWasTaken commented 1 year ago

irrelevant to the PR, but as I was testing I encountered chimu having an internal error, lol

21:10:42 [INFO] Got a link! https://osu.ppy.sh/beatmaps/965543
21:10:43 [INFO] Got redirected!! https://osu.ppy.sh/beatmapsets/450015#osu/965543
21:10:43 [INFO]     Attempting to download from chimu.moe - https://api.chimu.moe/v1/download/450015
21:10:43 [ERROR]     Failed to download from chimu.moe - 500 Internal Server Error
21:10:43 [INFO]     Attempting to download from kitsu.moe - https://kitsu.moe/api/d/450015
21:10:46 [INFO]     Successfully downloaded beatmap from kitsu.moe!
21:10:46 [INFO] Saved the beatmap to: "C:\\Users\\Arjix\\AppData\\Local\\osu!directer-beatmaps\\450015_kitsu.osz"
21:10:46 [INFO] Launching osu! at "C:\\Users\\Arjix\\AppData\\Local\\osu!/osu!.exe"

thank god I have added a second mirror