aboutsummaryrefslogtreecommitdiff
path: root/youtube_dl
diff options
context:
space:
mode:
authorSergey M․ <dstftw@gmail.com>2016-03-04 00:09:40 +0600
committerSergey M․ <dstftw@gmail.com>2016-03-04 00:09:40 +0600
commitd0ff690d68016f24d8cc90e69fac20847e7afa8e (patch)
tree4e9ccf2e3e2238db37a3ca10035154816a57afa9 /youtube_dl
parenta8276b268074eb844f0d62ff1cc9fd163a91d970 (diff)
[indavideo:embed] Fix tags extraction (Closes #8738)
Diffstat (limited to 'youtube_dl')
-rw-r--r--youtube_dl/extractor/indavideo.py2
1 files changed, 1 insertions, 1 deletions
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,