[indavideo:embed] Fix tags extraction (Closes #8738)

pull/8720/head
Sergey M․ 9 years ago
parent a8276b2680
commit d0ff690d68

@ -73,7 +73,7 @@ class IndavideoEmbedIE(InfoExtractor):
'url': self._proto_relative_url(thumbnail) 'url': self._proto_relative_url(thumbnail)
} for thumbnail in video.get('thumbnails', [])] } for thumbnail in video.get('thumbnails', [])]
tags = [tag['title'] for tag in video.get('tags', [])] tags = [tag['title'] for tag in video.get('tags') or []]
return { return {
'id': video.get('id') or video_id, 'id': video.get('id') or video_id,

Loading…
Cancel
Save