[options] swap --print and --Print semantics

--print now outputs values without downloading files
--Print now outputs values AND downloads files

add --Print-to-file with the same difference to --print-to-file
This commit is contained in:
Mike Fährmann
2025-06-22 18:16:49 +02:00
parent 2bcc2f2a17
commit 2cbc5cc454
2 changed files with 26 additions and 11 deletions

View File

@@ -49,12 +49,16 @@
values for the given URLs
-e, --error-file FILE Add input URLs which returned an error to FILE
-N, --print [EVENT:]FORMAT Write FORMAT during EVENT (default 'prepare')
to standard output. Examples: 'id' or
'post:{md5[:8]}'
--Print [EVENT:]FORMAT Like --print, but also sets --no-download,
--no-skip, and disables other output to stdout
to standard output instead of downloading
files. Can be used multiple times. Examples:
'id' or 'post:{md5[:8]}'
--Print [EVENT:]FORMAT Like --print, but downloads files as well
--print-to-file [EVENT:]FORMAT FILE
Append FORMAT during EVENT to FILE
Append FORMAT during EVENT to FILE instead of
downloading files. Can be used multiple times
--Print-to-file [EVENT:]FORMAT FILE
Like --print-to-file, but downloads files as
well
--list-modules Print a list of available extractor modules
--list-extractors [CATEGORIES]
Print a list of extractor classes with