From: Jimm Stout Date: Thu, 29 Nov 2018 18:07:07 +0000 (-0500) Subject: [gfycat] Update API endpoint (closes #18333) X-Git-Url: http://git.bitcoin.ninja/?a=commitdiff_plain;h=16597c2f9492651c55e01f441ee9cb5c276209cb;p=youtube-dl [gfycat] Update API endpoint (closes #18333) --- diff --git a/youtube_dl/extractor/gfycat.py b/youtube_dl/extractor/gfycat.py index a0670b645..c1b36a59b 100644 --- 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)