From f0884c8b3f171f8794a011fd1cb5d53d1185efab Mon Sep 17 00:00:00 2001 From: pukkandan Date: Sun, 28 Feb 2021 20:55:32 +0530 Subject: 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 --- yt_dlp/options.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'yt_dlp/options.py') 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". ' -- cgit v1.2.3