1
0
mirror of https://github.com/l1ving/youtube-dl synced 2025-02-10 17:32:51 +08:00

[test_download] Modify outtmpl to prevent info JSON filename conflicts

Thanks @jaimeMF for the idea.
This commit is contained in:
Yen Chi Hsuan 2015-11-03 18:31:20 +08:00
parent 5c7a331dcd
commit cdb0ba2119

View File

@ -106,6 +106,7 @@ def generator(test_case, tname):
return
params = get_params(test_case.get('params', {}))
params['outtmpl'] = tname + '_' + params['outtmpl']
if is_playlist and 'playlist' not in test_case:
params.setdefault('extract_flat', 'in_playlist')
params.setdefault('skip_download', True)