1
0
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:
John D 2017-09-24 20:49:36 -07:00
parent 7925539bb8
commit 6010e27ffa

View File

@ -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')