mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2024-11-10 09:07:58 +01:00
parent
00ae27690d
commit
2305e2e5c9
2 changed files with 14 additions and 7 deletions
11
README.md
11
README.md
|
@ -483,10 +483,13 @@ ## Filesystem Options:
|
||||||
could still contain some personal
|
could still contain some personal
|
||||||
information (default)
|
information (default)
|
||||||
--no-clean-infojson Write all fields to the infojson
|
--no-clean-infojson Write all fields to the infojson
|
||||||
--get-comments Retrieve video comments to be placed in the
|
--write-comments Retrieve video comments to be placed in the
|
||||||
.info.json file. The comments are fetched
|
infojson. The comments are fetched even
|
||||||
even without this option if the extraction
|
without this option if the extraction is
|
||||||
is known to be quick
|
known to be quick (Alias: --get-comments)
|
||||||
|
--no-write-comments Do not retrieve video comments unless the
|
||||||
|
extraction is known to be quick
|
||||||
|
(Alias: --no-get-comments)
|
||||||
--load-info-json FILE JSON file containing the video information
|
--load-info-json FILE JSON file containing the video information
|
||||||
(created with the "--write-info-json"
|
(created with the "--write-info-json"
|
||||||
option)
|
option)
|
||||||
|
|
|
@ -1048,11 +1048,15 @@ def _dict_from_options_callback(
|
||||||
action='store_false', dest='clean_infojson',
|
action='store_false', dest='clean_infojson',
|
||||||
help='Write all fields to the infojson')
|
help='Write all fields to the infojson')
|
||||||
filesystem.add_option(
|
filesystem.add_option(
|
||||||
'--get-comments',
|
'--write-comments', '--get-comments',
|
||||||
action='store_true', dest='getcomments', default=False,
|
action='store_true', dest='getcomments', default=False,
|
||||||
help=(
|
help=(
|
||||||
'Retrieve video comments to be placed in the .info.json file. '
|
'Retrieve video comments to be placed in the infojson. '
|
||||||
'The comments are fetched even without this option if the extraction is known to be quick'))
|
'The comments are fetched even without this option if the extraction is known to be quick (Alias: --get-comments)'))
|
||||||
|
filesystem.add_option(
|
||||||
|
'--no-write-comments', '--no-get-comments',
|
||||||
|
action='store_true', dest='getcomments', default=False,
|
||||||
|
help='Do not retrieve video comments unless the extraction is known to be quick (Alias: --no-get-comments)')
|
||||||
filesystem.add_option(
|
filesystem.add_option(
|
||||||
'--load-info-json', '--load-info',
|
'--load-info-json', '--load-info',
|
||||||
dest='load_info_filename', metavar='FILE',
|
dest='load_info_filename', metavar='FILE',
|
||||||
|
|
Loading…
Reference in a new issue