ubershmekel / redditp

Convert any reddit page to a presentation or slide show
https://redditp.com
MIT License
259 stars 101 forks source link

Redgifs doesn't work #138

Closed Anceph closed 2 years ago

Anceph commented 2 years ago

Redgifs links doesn't work.

ubershmekel commented 2 years ago

Gosh, again...

ubershmekel commented 2 years ago

I'm pushing out a fix that will create an iframe for redgifs. The sad part is that "auto-next" doesn't work. You can either set the auto-next to a higher time duration, or just disable it and manually next.

The problem is that redgifs disabled access to their APIs. So either we need a server to circumvent the problem, or to find some other solution. I wonder why they have such nice api docs if they don't want folks to use them https://api.redgifs.com/docs/

Hrxn commented 2 years ago

@ubershmekel Do you know when redgifs disabled access to their APIs perchance?

maitikeisi commented 2 years ago

https://twitter.com/RedGifsOfficial/status/1517232596459139072

seems to be wider problem at RedGIFs end. Hopefully the API starts working again too when they get everything solved.

ubershmekel commented 2 years ago

This looks like a deliberate change on their end to block CORS requests. I doubt that it's some sort of outage. @hrxn probably around when this issue was opened.

ubershmekel commented 2 years ago

I saw redditpx used a proxy to fix this issue. I don't have plans on making a proxy, so the iframes will have to do for now. Closing the issue unless folks have a better idea.