Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Getting 'gfycat.error.GfycatClientError: (404) Error fetching the URL' #13

Open
ghost opened this issue Sep 23, 2019 · 7 comments
Open

Comments

@ghost
Copy link

ghost commented Sep 23, 2019

Hi there,

I'm trying to fetch a upload from URL but I'm getting this error:

"gfycat.error.GfycatClientError: (404) Error fetching the URL"

Did the Gfycat API change recently? I know it's a valid URL because it works on the official Gfycat.com website and it creates the GIF.

I also get the same error when I do client.check_link() function.

Any ideas?

@ghost
Copy link
Author

ghost commented Sep 23, 2019

@ankeshanand

@kristopolous
Copy link
Contributor

it's a 301 likely. I've just run into this. Easy fix, let me see if any forks handle it first

@kristopolous
Copy link
Contributor

nope, looks like it's my job, alright.

@kristopolous
Copy link
Contributor

so there should be a cascade that checks redgifs as well apparently, since this is where the split exists. Whether one would want to add some "disallow_nsfw" flag is probably a separate ticket ... I'll just patch something that assumes the user wants the content they're requesting.

kristopolous added a commit to kristopolous/py-gfycat that referenced this issue Jan 31, 2021
Some content has been split-off to redgif which observes the same API
So a simple recursive fallback is added that checks the secondary site
before failing.
@kristopolous
Copy link
Contributor

there's the pr, do with it what you will.

@kristopolous
Copy link
Contributor

I also version bumped it to 0.2.3 in the PR btw.

ankeshanand added a commit that referenced this issue May 21, 2021
Fixing #13 '...rror: (404) Error fetching the URL'
@JohnMTorgerson
Copy link

So 0.2.3 is still not available on pypi with this fix. Any idea when that's going to happen?

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants