py-gfycat icon indicating copy to clipboard operation
py-gfycat copied to clipboard

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

Open ghost opened this issue 6 years ago • 7 comments

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 avatar Sep 23 '19 20:09 ghost

@ankeshanand

ghost avatar Sep 23 '19 20:09 ghost

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

kristopolous avatar Jan 31 '21 09:01 kristopolous

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

kristopolous avatar Jan 31 '21 09:01 kristopolous

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 avatar Jan 31 '21 09:01 kristopolous

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

kristopolous avatar Jan 31 '21 09:01 kristopolous

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

kristopolous avatar Jan 31 '21 09:01 kristopolous

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

JohnMTorgerson avatar Jun 17 '21 18:06 JohnMTorgerson