mirror of
https://github.com/l1ving/youtube-dl
synced 2025-02-11 05:23:22 +08:00
[test_download] Modify outtmpl to prevent info JSON filename conflicts
Thanks @jaimeMF for the idea.
This commit is contained in:
parent
5c7a331dcd
commit
cdb0ba2119
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user