ImgurViewer icon indicating copy to clipboard operation
ImgurViewer copied to clipboard

redgifs.com compatibility

Open 07416 opened this issue 3 years ago • 7 comments

It seems that the app can't parse redgifs.com anymore (supported domain).

07416 avatar Jul 05 '21 14:07 07416

You're right, I need to check the changes in their platform to see if I can still support it.

SpartanJ avatar Jul 18 '21 01:07 SpartanJ

Fixed in current development branch: https://github.com/SpartanJ/ImgurViewer/commit/79e628a3e1b83a17e97aeadb37b8879ced709ff7 Should be available for v2.2.2 release.

SpartanJ avatar Sep 24 '21 23:09 SpartanJ

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.

youri-- avatar Oct 22 '22 20:10 youri--

Can you please share a link that isn't working for you? ImgurViewer has some tests and the redgifs tests are passing. Thanks.

SpartanJ avatar Oct 22 '22 22:10 SpartanJ

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

youri-- avatar Oct 23 '22 09:10 youri--

Oh, they deprecated their old API for the new videos. I'll have to take a look.

SpartanJ avatar Oct 24 '22 15:10 SpartanJ

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

youri-- avatar Oct 27 '22 14:10 youri--

Thanks for the tips. I just pushed a fix. It'll be available in the next app release.

SpartanJ avatar Dec 05 '22 02:12 SpartanJ

That's great, thanks!

youri-- avatar Dec 07 '22 18:12 youri--