From: Sergey M․ Date: Thu, 3 Mar 2016 18:09:40 +0000 (+0600) Subject: [indavideo:embed] Fix tags extraction (Closes #8738) X-Git-Url: http://git.oshgnacknak.de/?a=commitdiff_plain;h=d0ff690d68016f24d8cc90e69fac20847e7afa8e;p=youtube-dl [indavideo:embed] Fix tags extraction (Closes #8738) --- diff --git a/youtube_dl/extractor/indavideo.py b/youtube_dl/extractor/indavideo.py index 12fb5e8e1..9622f198a 100644 --- a/youtube_dl/extractor/indavideo.py +++ b/youtube_dl/extractor/indavideo.py @@ -73,7 +73,7 @@ class IndavideoEmbedIE(InfoExtractor): 'url': self._proto_relative_url(thumbnail) } 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 { 'id': video.get('id') or video_id,