1
0
mirror of https://github.com/yt-dlp/yt-dlp.git synced 2025-10-03 23:43:21 -04:00

[core] add option to trim file name length with integer

https://github.com/blackjack4494/youtube-dlc/issues/85
This commit is contained in:
Unknown
2020-09-30 05:50:09 +02:00
parent 6923b5381f
commit bdc3fd2f35
3 changed files with 16 additions and 1 deletions

View File

@@ -390,6 +390,7 @@ def _real_main(argv=None):
'rejecttitle': decodeOption(opts.rejecttitle),
'max_downloads': opts.max_downloads,
'prefer_free_formats': opts.prefer_free_formats,
'trim_file_name': opts.trim_file_name,
'verbose': opts.verbose,
'dump_intermediate_pages': opts.dump_intermediate_pages,
'write_pages': opts.write_pages,