logo

youtube-dl

[mirror] Download/Watch videos from video hosters
commit: 65d49afa48086b568364bbcbab29feef71031178
parent ab03c0b47c142bfb649eacb3c72ce9cb67184535
Author: Jaime Marquínez Ferrándiz <jaime.marquinez.ferrandiz@gmail.com>
Date:   Fri, 23 Oct 2015 14:12:46 +0200

[test/test_download] Use extract_flat = 'in_playlist' for playlist items

Some playlist extractors return a 'url' result, which wouldn't be resolved.

Diffstat:

Mtest/test_download.py2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 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)