]> jfr.im git - yt-dlp.git/commitdiff
Fix bug in 8a82af3511b4379af0d239dbd01c672c17a2c46a
authorpukkandan <redacted>
Fri, 27 May 2022 15:58:53 +0000 (21:28 +0530)
committerpukkandan <redacted>
Fri, 27 May 2022 15:59:30 +0000 (21:29 +0530)
README.md
yt_dlp/YoutubeDL.py

index 89e3528cfc1e72baed209db93483813ff6f5290a..4cb2dbb811569fb0ec7a73ab2e9ba66c312b2845 100644 (file)
--- a/README.md
+++ b/README.md
@@ -146,7 +146,7 @@ ### Differences in default behavior
 * Thumbnail embedding in `mp4` is done with mutagen if possible. Use `--compat-options embed-thumbnail-atomicparsley` to force the use of AtomicParsley instead
 * Some private fields such as filenames are removed by default from the infojson. Use `--no-clean-infojson` or `--compat-options no-clean-infojson` to revert this
 * When `--embed-subs` and `--write-subs` are used together, the subtitles are written to disk and also embedded in the media file. You can use just `--embed-subs` to embed the subs and automatically delete the separate file. See [#630 (comment)](https://github.com/yt-dlp/yt-dlp/issues/630#issuecomment-893659460) for more info. `--compat-options no-keep-subs` can be used to revert this
-* `certifi` will be used for SSL root certificates, if installed. If you want to use system certificates (e.g. self-signed), use `--compat-options no-certifi`
+* `certifi` will be used for SSL root certificates, if installed. If you want to use only system certificates, use `--compat-options no-certifi`
 * youtube-dl tries to remove some superfluous punctuations from filenames. While this can sometimes be helpfull, it is often undesirable. So yt-dlp tries to keep the fields in the filenames as close to their original values as possible. You can use `--compat-options filename-sanitization` to revert to youtube-dl's behavior
 
 For ease of use, a few more compat options are available:
index d3497d7463f6a57278304049f4fbcaa968e9ac9d..5aae25707fcff229d7f591ac8ecc81bbfab64acb 100644 (file)
@@ -794,7 +794,7 @@ def to_stdout(self, message, skip_eol=False, quiet=None):
             self.deprecation_warning('"YoutubeDL.to_stdout" no longer accepts the argument quiet. Use "YoutubeDL.to_screen" instead')
         if skip_eol is not False:
             self.deprecation_warning('"YoutubeDL.to_stdout" no longer accepts the argument skip_eol. Use "YoutubeDL.to_screen" instead')
-        self._write_string(self._bidi_workaround(message), self._out_files.out)
+        self._write_string(f'{self._bidi_workaround(message)}\n', self._out_files.out)
 
     def to_screen(self, message, skip_eol=False, quiet=None):
         """Print message to screen if not in quiet mode"""