projects
/
youtube-dl
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
adbbdef
)
[gfycat] Update API endpoint (closes #18333)
author
Jimm Stout
<jamesstout1@gmail.com>
Thu, 29 Nov 2018 18:07:07 +0000
(13:07 -0500)
committer
Sergey M
<dstftw@gmail.com>
Thu, 29 Nov 2018 18:07:07 +0000
(
01:07
+0700)
youtube_dl/extractor/gfycat.py
patch
|
blob
|
history
diff --git
a/youtube_dl/extractor/gfycat.py
b/youtube_dl/extractor/gfycat.py
index a0670b6456adf7e092dadbfc14d193f920aa0262..c1b36a59b51e9885b99535f19eef508c5e39bcaa 100644
(file)
--- 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,
+ 'http
s://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)