diff options
author | dirkf <[email protected]> | 2021-12-06 19:26:33 +0000 |
---|---|---|
committer | dirkf <[email protected]> | 2022-02-05 02:47:21 +0000 |
commit | 73e1ab6125eeea2b07942326cd2f1d6d9adff64e (patch) | |
tree | 56493b7018040566e801646575c3a6f646a13e81 /test/test_download.py | |
parent | 584715a803eef68f68fbbb8b72a022a699983197 (diff) | |
download | youtube-dl-73e1ab6125eeea2b07942326cd2f1d6d9adff64e.tar.gz youtube-dl-73e1ab6125eeea2b07942326cd2f1d6d9adff64e.zip |
[test:download] Only extract enough videos for playlist_mincount
Diffstat (limited to 'test/test_download.py')
-rw-r--r-- | test/test_download.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/test/test_download.py b/test/test_download.py index ebe820dfc..8e43cfa12 100644 --- a/test/test_download.py +++ b/test/test_download.py @@ -121,6 +121,7 @@ def generator(test_case, tname): params['outtmpl'] = tname + '_' + params['outtmpl'] if is_playlist and 'playlist' not in test_case: params.setdefault('extract_flat', 'in_playlist') + params.setdefault('playlistend', test_case.get('playlist_mincount')) params.setdefault('skip_download', True) ydl = YoutubeDL(params, auto_init=False) |