I absolutely love the token spoofing and hope more developers pursue that solution. The more unpaid API access, the better.
I don't understand, there are hosted instances? How do they deal with the API restrictions?
I run a personal API client and it stopped working from my vps unless I log it in. It does work when I run it from home. It's a very low volume thing though.
Quickly skimming the readme, it states:
- OAuth token spoofing: To circumvent rate limits imposed by Reddit, OAuth token spoofing is used to mimick the most common iOS and Android clients. While spoofing both iOS and Android clients was explored, only the Android client was chosen due to content restrictions when using an anonymous iOS client.
- Token refreshing: The authentication token is refreshed every 24 hours, emulating the behavior of the official Android app.
- HTTP header mimicking: Efforts are made to send along as many of the official app's headers as possible to reduce the likelihood of Reddit's crackdown on Redlib's requests.
It's a lifesaver for when the only useful search result leads to reddit.
I hated being forced to use Reddit. If we consider the situation of search engines today we need Reddit's results in some areas. Addons like LibRedirect and projects like this are really needed. Thank you!
this post was submitted on 10 Apr 2024
100 points (91.0% liked)
Technology
58135 readers
4540 users here now
This is a most excellent place for technology news and articles.
Our Rules
- Follow the lemmy.world rules.
- Only tech related content.
- Be excellent to each another!
- Mod approved content bots can post up to 10 articles per day.
- Threads asking for personal tech support may be deleted.
- Politics threads may be removed.
- No memes allowed as posts, OK to post as comments.
- Only approved bots from the list below, to ask if your bot can be added please contact us.
- Check for duplicates before posting, duplicates may be removed
Approved Bots
founded 1 year ago
MODERATORS