QuantumBadger / RedReader

An unofficial open source Android app for Reddit.
GNU General Public License v3.0
2k stars 482 forks source link

Feature Request: Old nsfw gfycat.com links redirect to gifdeliverynetwork.com support #738

Open japanesephundroid opened 4 years ago

japanesephundroid commented 4 years ago

In continuation of this discussion.

Thanks for this 👍

Works ok for redgifs.com links. Old Gfycat links now identified as NSFW however redirect to gifdeliverynetwork.com.

example (obviously NSFW, I went with something relatively tame) https://gfycat.com/whirlwindreadycats which redirects to: https://www.gifdeliverynetwork.com/whirlwindreadycats

I don't know if this needs a separate thread or should be posted here since the video is hosted on redgifs: https://thumbs1.redgifs.com/WhirlwindReadyCats.webm

for @ticoombs

shinji257 commented 4 years ago

I have not dug into the code for this app but I'm posting this as we worked on this on a different app.

If you are using the normal gfycat api on non-redgifs urls then you will get a "doesn't exist" response from the api even if the site redirects to gifdeliverynetwork. You may have to just retry it via the redgifs api to be sure it doesn't actually exist there either.