A feature-rich command-line audio/video downloader
[youtube] fix condition always being evaluated to true
Jaime Marquínez Ferrándizc7253e2e8c10
diff --git a/youtube_dl/extractor/youtube.py b/youtube_dl/extractor/youtube.pyindex 5afe064d16..35b95fdc23 100644--- a/youtube_dl/extractor/youtube.py+++ b/youtube_dl/extractor/youtube.py@@ -486,7 +486,7 @@ class YoutubeIE(InfoExtractor):mobj = re.search(r';ytplayer.config = ({.*?});', video_webpage)info = json.loads(mobj.group(1))args = info['args']- if args.get('ptk','') == 'vevo' or 'dashmpd':+ if args.get('ptk','') == 'vevo' or 'dashmpd' in args:# Vevo videos with encrypted signaturesself.to_screen(u'%s: Vevo video detected.' % video_id)video_info['url_encoded_fmt_stream_map'] = [args['url_encoded_fmt_stream_map']]