extesy/hoverzoom

Allow us to use our own reddit api keys

AryanVerma1024 opened this issue · 1 comments

I used old reddit with res(infinite scroll) and i have tried this with res disabled and enabled and it happens both times.

Is your feature request related to a problem? Please describe.
Galleries stop loading previews if you request too many of them.

Describe the solution you'd like
Allow use to use our own reddit api keys for reddit which we can get from /prefs/apps.

Describe alternatives you've considered
You can see how gallery-dl has done it. They have a base api key which usually runs out of attempts pretty quickly because of requests across so many users but then you can just use your own reddit api key to download stuff from reddit. I have seen it making >150 requests per minute to get the image link and then downloading the actual images.

Additional context
Reddit without an api key just gives us a nice little 429 response after too many gallery enumeration requests.

This can totally be a feature under a "advanced: only proceed if you know what you are doing" section

Started yesterday for me, but old reddit will stop loading completely with 429 error but new reddit will continue to load fine. Old reddit will eventually start loading again. Disabling HoverZoom stops the problem from occurring.

Others having the same issue:
https://www.reddit.com/r/help/comments/1dtxt1c/http_error_429/