diff options
author | Jesús <heckyel@hyperbola.info> | 2021-12-02 11:02:59 -0500 |
---|---|---|
committer | Jesús <heckyel@hyperbola.info> | 2021-12-02 11:02:59 -0500 |
commit | 7739b37f957b098d237179534d1b8c20597d55b6 (patch) | |
tree | ce76d6ff608ad30fa81375dd4210b996d3430a97 /yt_dlp/YoutubeDL.py | |
parent | ccf02e63e53e481824b56b4e05ab1c2a9558c9a7 (diff) | |
parent | 9bdd99cf39974bf19badc0dfc9ee7172ff198e98 (diff) | |
download | hypervideo-pre-7739b37f957b098d237179534d1b8c20597d55b6.tar.lz hypervideo-pre-7739b37f957b098d237179534d1b8c20597d55b6.tar.xz hypervideo-pre-7739b37f957b098d237179534d1b8c20597d55b6.zip |
updated from upstream | 02/12/2021 at 11:02
Diffstat (limited to 'yt_dlp/YoutubeDL.py')
-rw-r--r-- | yt_dlp/YoutubeDL.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/yt_dlp/YoutubeDL.py b/yt_dlp/YoutubeDL.py index 524994ab5..45500ab5a 100644 --- a/yt_dlp/YoutubeDL.py +++ b/yt_dlp/YoutubeDL.py @@ -96,6 +96,7 @@ from .utils import ( ReExtractInfo, register_socks_protocols, RejectedVideoReached, + remove_terminal_sequences, render_table, replace_extension, SameFileError, @@ -326,7 +327,7 @@ class YoutubeDL(object): bidi_workaround: Work around buggy terminals without bidirectional text support, using fridibi debug_printtraffic:Print out sent and received HTTP traffic - include_ads: Download ads as well + include_ads: Download ads as well (deprecated) default_search: Prepend this string if an input url is not valid. 'auto' for elaborate guessing encoding: Use this encoding instead of the system-specified. @@ -775,6 +776,7 @@ class YoutubeDL(object): def to_console_title(self, message): if not self.params.get('consoletitle', False): return + message = remove_terminal_sequences(message) if compat_os_name == 'nt': if ctypes.windll.kernel32.GetConsoleWindow(): # c_wchar_p() might not be necessary if `message` is |