logo

youtube-dl

[mirror] Download/Watch videos from video hosters
commit: 16597c2f9492651c55e01f441ee9cb5c276209cb
parent adbbdefc8126a933d9ff0a6e603fb312e4b4cbdc
Author: Jimm Stout <jamesstout1@gmail.com>
Date:   Thu, 29 Nov 2018 13:07:07 -0500

[gfycat] Update API endpoint (closes #18333)


Diffstat:

Myoutube_dl/extractor/gfycat.py2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/youtube_dl/extractor/gfycat.py b/youtube_dl/extractor/gfycat.py @@ -53,7 +53,7 @@ class GfycatIE(InfoExtractor): video_id = self._match_id(url) gfy = self._download_json( - 'http://gfycat.com/cajax/get/%s' % video_id, + 'https://api.gfycat.com/v1/gfycats/%s' % video_id, video_id, 'Downloading video info') if 'error' in gfy: raise ExtractorError('Gfycat said: ' + gfy['error'], expected=True)