From: Jaime Marquínez Ferrándiz Date: Fri, 23 Oct 2015 12:12:46 +0000 (+0200) Subject: [test/test_download] Use extract_flat = 'in_playlist' for playlist items X-Git-Url: https://git.cielonegro.org/gitweb.cgi?a=commitdiff_plain;h=65d49afa48086b568364bbcbab29feef71031178;p=youtube-dl.git [test/test_download] Use extract_flat = 'in_playlist' for playlist items Some playlist extractors return a 'url' result, which wouldn't be resolved. --- diff --git a/test/test_download.py b/test/test_download.py index 284418834..a3f1c0644 100644 --- a/test/test_download.py +++ b/test/test_download.py @@ -102,7 +102,7 @@ def generator(test_case): params = get_params(test_case.get('params', {})) if is_playlist and 'playlist' not in test_case: - params.setdefault('extract_flat', True) + params.setdefault('extract_flat', 'in_playlist') params.setdefault('skip_download', True) ydl = YoutubeDL(params, auto_init=False)