diff options
Diffstat (limited to 'yt_dlp/extractor/indavideo.py')
-rw-r--r-- | yt_dlp/extractor/indavideo.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/yt_dlp/extractor/indavideo.py b/yt_dlp/extractor/indavideo.py index 564bf8a..85e388e 100644 --- a/yt_dlp/extractor/indavideo.py +++ b/yt_dlp/extractor/indavideo.py @@ -80,7 +80,7 @@ class IndavideoEmbedIE(InfoExtractor): height = int_or_none(self._search_regex( r'\.(\d{3,4})\.mp4(?:\?|$)', video_url, 'height', default=None)) if not height and len(filesh) == 1: - height = int_or_none(list(filesh.keys())[0]) + height = int_or_none(next(iter(filesh.keys()))) token = filesh.get(str(height)) if token is None: continue @@ -95,7 +95,7 @@ class IndavideoEmbedIE(InfoExtractor): timestamp = parse_iso8601(timestamp + ' +0200', ' ') thumbnails = [{ - 'url': self._proto_relative_url(thumbnail) + 'url': self._proto_relative_url(thumbnail), } for thumbnail in video.get('thumbnails', [])] tags = [tag['title'] for tag in video.get('tags') or []] |