Skip to content

[ Suggestion ] Update logic to be compatible with Mino v5 #33

@Calemy

Description

@Calemy

Is your feature request related to a problem? Please describe.
Hey, as you are probably aware i'm the creator of mino!
First, i want to say thank you for integrating our mirror in your application, really means a lot.
I'm here to give a heads up about a major update that is coming very soon.
We implemented new Ratelimits and now return new headers on downloads which we'd greatly appreciate if you could implement those changes so both you and us can keep a smooth user experience.

Describe the solution you'd like
on downloads please check for following headers:

x-ratelimit-remaining
x-ratelimit-reset
x-daily-remaining
x-ratelimit-daily-reset

if x-ratelimit-remaining or x-daily-remaining hit 0 or below, please wait the remaining time that is being returned in seconds on the header.

if you do end up running into a 429 please check the retry-after header and again, wait the remaining time that is being returned on the retry-after header and retry the request.

Describe alternatives you've considered
There is no alternative

Additional context
We expect this update to fully roll out by Friday, July 11th at 15:00 UTC
Hope you can work with the details that i gave over here

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions