[gfycat] Update API endpoint (closes #18333)
authorJimm Stout <jamesstout1@gmail.com>
Thu, 29 Nov 2018 18:07:07 +0000 (13:07 -0500)
committerSergey M <dstftw@gmail.com>
Thu, 29 Nov 2018 18:07:07 +0000 (01:07 +0700)
youtube_dl/extractor/gfycat.py

index a0670b6456adf7e092dadbfc14d193f920aa0262..c1b36a59b51e9885b99535f19eef508c5e39bcaa 100644 (file)
@@ -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)