Merge pull request #8739 from remitamine/update_url_params
[youtube-dl] / youtube_dl / extractor / indavideo.py
index 550a7001bbdd0f42bb006e059adb25c3e68be772..9622f198aa6aaf99094a9b85c5a914d4f0c07d46 100644 (file)
@@ -1,7 +1,6 @@
 # coding: utf-8
 from __future__ import unicode_literals
 
-from .. import utils
 from .common import InfoExtractor
 from ..utils import (
     int_or_none,
@@ -74,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,