]> Raphaƫl G. Git Repositories - youtubedl/blobdiff - youtube_dl/extractor/gfycat.py
Fix extraction from youtube.
[youtubedl] / 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)