mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2024-11-10 09:07:58 +01:00
[gfycat] Update API endpoint (closes #18333)
This commit is contained in:
parent
adbbdefc81
commit
16597c2f94
1 changed files with 1 additions and 1 deletions
|
@ -53,7 +53,7 @@ def _real_extract(self, url):
|
|||
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)
|
||||
|
|
Loading…
Reference in a new issue