diff options
author | pukkandan <pukkandan@gmail.com> | 2021-02-28 20:55:32 +0530 |
---|---|---|
committer | pukkandan <pukkandan@gmail.com> | 2021-02-28 20:56:32 +0530 |
commit | f0884c8b3f171f8794a011fd1cb5d53d1185efab (patch) | |
tree | 46c2d8b72eb2d309a1959d1867fab0f070dc6fed /yt_dlp/options.py | |
parent | 277d6ff5f2bd4f142429def30d01df264eb7c922 (diff) | |
download | hypervideo-pre-f0884c8b3f171f8794a011fd1cb5d53d1185efab.tar.lz hypervideo-pre-f0884c8b3f171f8794a011fd1cb5d53d1185efab.tar.xz hypervideo-pre-f0884c8b3f171f8794a011fd1cb5d53d1185efab.zip |
Cleanup some code (see desc)
* `--get-comments` doesn't imply `--write-info-json` if `-J`, `-j` or `--print-json` are used
* Don't pass `config_location` to `YoutubeDL` (it is unused)
* [bilibiliaudio] Recognize the file as audio-only
* Update gitignore
* Fix typos
Diffstat (limited to 'yt_dlp/options.py')
-rw-r--r-- | yt_dlp/options.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/yt_dlp/options.py b/yt_dlp/options.py index 269499022..59c08fb18 100644 --- a/yt_dlp/options.py +++ b/yt_dlp/options.py @@ -369,7 +369,7 @@ def parseOpts(overrideArguments=None): help='Download only the video, if the URL refers to a video and a playlist') selection.add_option( '--yes-playlist', - action='store_false', dest='noplaylist', default=False, + action='store_false', dest='noplaylist', help='Download the playlist, if the URL refers to a video and a playlist') selection.add_option( '--age-limit', @@ -1143,7 +1143,7 @@ def parseOpts(overrideArguments=None): 'Give field name to extract data from, and format of the field seperated by a ":". ' 'Either regular expression with named capture groups or a ' 'similar syntax to the output template can also be used. ' - 'The parsed parameters replace any existing values and can be use in output template' + 'The parsed parameters replace any existing values and can be use in output template. ' 'This option can be used multiple times. ' 'Example: --parse-metadata "title:%(artist)s - %(title)s" matches a title like ' '"Coldplay - Paradise". ' |