mirror of
https://github.com/l1ving/youtube-dl
synced 2025-02-03 05:33:09 +08:00
[gfycat] fixed like/dislike conversion issue
This commit is contained in:
parent
7925539bb8
commit
6010e27ffa
@ -55,7 +55,6 @@ class GfycatIE(InfoExtractor):
|
|||||||
if 'error' in gfy:
|
if 'error' in gfy:
|
||||||
raise ExtractorError('Gfycat said: ' + gfy['error'], expected=True)
|
raise ExtractorError('Gfycat said: ' + gfy['error'], expected=True)
|
||||||
gfy = gfy['gfyItem']
|
gfy = gfy['gfyItem']
|
||||||
print gfy
|
|
||||||
|
|
||||||
title = gfy.get('title') or gfy['gfyName']
|
title = gfy.get('title') or gfy['gfyName']
|
||||||
description = gfy.get('description')
|
description = gfy.get('description')
|
||||||
|
Loading…
Reference in New Issue
Block a user