-
-
Notifications
You must be signed in to change notification settings - Fork 1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
404'd gfycat videos should be retried on gifdeliverynetwork/redgifs #874
Comments
Are you absolutely positive that they still have the same ID etc.? |
Yes. Here is an example: It can be access via RedGIFs at https://www.redgifs.com/watch/dimwittedhatefuleasternglasslizard This is the same method I've seen elsewhere for handling gfycat videos that were later redirected to be on gdn or redgifs. |
So I did want to verify (even though I know 100% that the slug is consistent) that doing the redirect would be ok. Found a post. GfyCat/RedGifs reddit mod saying to workaround current limitation on urls in reddit by replacing redgifs.com/watch with gfycat.com so that they can be embedded.
Example NSFW URL that would have been handled as such. This one is hosted over on RedGifs. If I do their old workaround it would end up as https://www.gfycat.com/foolishforkedabyssiniancat and give a 404 in the downloader. It redirects to GifDeliveryNetwork on the website for that url. |
TL;DR It works as expected? |
GfyCat urls are still not being retried in RedGifs extractor. They just generate a 404 url hit right now. Is it possible to do a fallback for it? |
@mikf I have written this https://github.com/AlttiRi/gfycat-id-camel-caser for my userscript to do that. (Note: I use it with "Iframe API" instead bundling it as a library.) The minimal logic is trivial (while in my repo I do much more, so it looks not so trivial), but dictionaries (JSON files) may be useful for you. |
Strange.. I mean, I have no reason to doubt you.. But can you give some example URL(s) where CamelCaseID works while lowecaseID does not? |
Feel free to investigate the content. The tool (the site) for CamelCasing is above.
UPD 2022.03 Sadly, Redgifs have finally purged all webm files even they were the original uploaded files. However, some 404 mp4 are still available by the direct URL. |
NSFW videos were moved to redgifs and some videos went over to gifdeliverynetwork. Redgifs at the very least is supported
The text was updated successfully, but these errors were encountered: