commit d0ff690d68016f24d8cc90e69fac20847e7afa8e
parent a8276b268074eb844f0d62ff1cc9fd163a91d970
Author: Sergey M․ <dstftw@gmail.com>
Date: Fri, 4 Mar 2016 00:09:40 +0600
[indavideo:embed] Fix tags extraction (Closes #8738)
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git 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,