aboutsummaryrefslogtreecommitdiff
path: root/youtube_dl/extractor/gfycat.py
diff options
context:
space:
mode:
authorJimm Stout <jamesstout1@gmail.com>2018-11-29 13:07:07 -0500
committerSergey M <dstftw@gmail.com>2018-11-30 01:07:07 +0700
commit16597c2f9492651c55e01f441ee9cb5c276209cb (patch)
tree7fc80b1cc43ff63158c0bc80879a4f195673ee76 /youtube_dl/extractor/gfycat.py
parentadbbdefc8126a933d9ff0a6e603fb312e4b4cbdc (diff)
[gfycat] Update API endpoint (closes #18333)
Diffstat (limited to 'youtube_dl/extractor/gfycat.py')
-rw-r--r--youtube_dl/extractor/gfycat.py2
1 files changed, 1 insertions, 1 deletions
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)