From 3e3b11c80b648b423294c75a106a1211e6570e88 Mon Sep 17 00:00:00 2001 From: ckaotik Date: Sun, 21 Feb 2021 12:53:21 +0100 Subject: [PATCH] [mediathekviewweb] Fixed future and everywhere detection --- youtube_dl/extractor/mediathekviewweb.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/youtube_dl/extractor/mediathekviewweb.py b/youtube_dl/extractor/mediathekviewweb.py index ae69c5d07..abef1f115 100644 --- a/youtube_dl/extractor/mediathekviewweb.py +++ b/youtube_dl/extractor/mediathekviewweb.py @@ -210,9 +210,9 @@ class MediathekViewWebIE(InfoExtractor): if len(query) > 0: # Detect global flags, MVW is very strict about accepted values. extractor = MediathekViewWebSearchIE(self._downloader) - if query.get('everywhere', [])[0] == 'true': + if query.get('everywhere', []) == ['true']: extractor._everywhere = True - if query.get('future', [])[0] == 'false': + if query.get('future', []) == ['false']: extractor._future = False return extractor._real_extract('mvwsearchall:' + search)