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)