diff options
author | pukkandan <pukkandan@gmail.com> | 2021-02-28 20:26:08 +0530 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-02-28 20:26:08 +0530 |
commit | 277d6ff5f2bd4f142429def30d01df264eb7c922 (patch) | |
tree | 1ffa4fe83c33aef1f82e1e339cc59c46139ca0ac /yt_dlp/options.py | |
parent | 1cf376f55a3d9335eb161c07c439ca143d86924e (diff) | |
download | hypervideo-pre-277d6ff5f2bd4f142429def30d01df264eb7c922.tar.lz hypervideo-pre-277d6ff5f2bd4f142429def30d01df264eb7c922.tar.xz hypervideo-pre-277d6ff5f2bd4f142429def30d01df264eb7c922.zip |
Extract comments only when needed #95 (Closes #94)
Diffstat (limited to 'yt_dlp/options.py')
-rw-r--r-- | yt_dlp/options.py | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/yt_dlp/options.py b/yt_dlp/options.py index ae11e6b8b..269499022 100644 --- a/yt_dlp/options.py +++ b/yt_dlp/options.py @@ -347,7 +347,7 @@ def parseOpts(overrideArguments=None): 'Specify any key (see "OUTPUT TEMPLATE" for a list of available keys) to ' 'match if the key is present, ' '!key to check if the key is not present, ' - 'key>NUMBER (like "comment_count > 12", also works with ' + 'key>NUMBER (like "view_count > 12", also works with ' '>=, <, <=, !=, =) to compare against a number, ' 'key = \'LITERAL\' (like "uploader = \'Mike Smith\'", also works with !=) ' 'to match against a string literal ' @@ -985,7 +985,9 @@ def parseOpts(overrideArguments=None): filesystem.add_option( '--get-comments', action='store_true', dest='getcomments', default=False, - help='Retrieve video comments to be placed in the .info.json file') + help=( + 'Retrieve video comments to be placed in the .info.json file. ' + 'The comments are fetched even without this option if the extraction is known to be quick')) filesystem.add_option( '--load-info-json', '--load-info', dest='load_info_filename', metavar='FILE', |