mirror of
https://github.com/ytdl-org/youtube-dl
synced 2025-01-25 12:50:10 +09:00
[mediathekviewweb] Fixed future and everywhere detection
This commit is contained in:
parent
14384d4a6f
commit
3e3b11c80b
@ -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)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user