ImgurViewer
ImgurViewer copied to clipboard
redgifs.com compatibility
It seems that the app can't parse redgifs.com anymore (supported domain).
You're right, I need to check the changes in their platform to see if I can still support it.
Fixed in current development branch: https://github.com/SpartanJ/ImgurViewer/commit/79e628a3e1b83a17e97aeadb37b8879ced709ff7 Should be available for v2.2.2 release.
Could it be this site has changed something to break compatibility again? It's not working for me.
As an aside, fyi: also not working in Hopwatch (Reddit on Android tv) and Slide for Reddit. Which leads me to believe there's a compat issue again due to the site changing something.
Can you please share a link that isn't working for you? ImgurViewer has some tests and the redgifs tests are passing. Thanks.
Sure, just grabbed a random link (NSFW) from Reddit, it's not working:
NSFW link
hXXps://www.redgifs.com/watch/beautifuluncomfortableegret
From this Reddit post:
NSFW link
hXXps://reddit.com/r/u_kelsimonroe420/comments/y8snr1/my_first_redgifs_upload_2_years_ago_oc/
Error tooltip: "Sorry, video reproduction failed"
Another one from redgifs homepage
NSFW link
hXXps://redgifs.com/watch/unwrittengreenazurevase
Error tooltip: "Couldn't resolve video url"
(Changed https to hXXps because it's NSFW and we're on github)
Opened 1st link via Slide for Reddit, long-press, "open externally", then choosing imgurviewer. Also tried long-press, Share, imgurviewer. Opened 2nd link from homepage, in Firefox Focus, long-press, "open link in external app"
Device is OnePlus 6, Android 11, OxygenOS 11.1.2.2, stock
Oh, they deprecated their old API for the new videos. I'll have to take a look.
Perhaps you've already seen this, but just in case you haven't. Found this on Reddit, could be useful
https://www.reddit.com/r/DataHoarder/comments/x67zfo/redgifs_api_now_blocked_from_hotlinking_anyone/
In the comments someone links to another app's repo who's also trying to figure out how to get it working again.
https://github.com/RipMeApp/ripme/issues/1994#issuecomment-1235137334
Or maybe it's just a case of getting client credentials for your app, or perhaps using temporary tokens, generated (when expired) while running the app on behalf of the user:
https://github.com/Redgifs/api/wiki/API-access
Thanks for the tips. I just pushed a fix. It'll be available in the next app release.
That's great, thanks!