diff options
Diffstat (limited to 'yt_dlp')
-rw-r--r-- | yt_dlp/YoutubeDL.py | 2 | ||||
-rw-r--r-- | yt_dlp/__init__.py | 1 | ||||
-rw-r--r-- | yt_dlp/update.py | 3 |
3 files changed, 3 insertions, 3 deletions
diff --git a/yt_dlp/YoutubeDL.py b/yt_dlp/YoutubeDL.py index 634169470..8cbdbb5c0 100644 --- a/yt_dlp/YoutubeDL.py +++ b/yt_dlp/YoutubeDL.py @@ -327,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. diff --git a/yt_dlp/__init__.py b/yt_dlp/__init__.py index 9ddfc67c1..91a01c38f 100644 --- a/yt_dlp/__init__.py +++ b/yt_dlp/__init__.py @@ -95,6 +95,7 @@ def _real_main(argv=None): if opts.batchfile is not None: try: if opts.batchfile == '-': + write_string('Reading URLs from stdin:\n') batchfd = sys.stdin else: batchfd = io.open( diff --git a/yt_dlp/update.py b/yt_dlp/update.py index aebd5d1e1..116816037 100644 --- a/yt_dlp/update.py +++ b/yt_dlp/update.py @@ -109,14 +109,13 @@ def run_update(ydl): err = is_non_updateable() if err: - ydl.to_screen(f'Latest version: {version_id}, Current version: {__version__}') return report_error(err, True) # sys.executable is set to the full pathname of the exe-file for py2exe # though symlinks are not followed so that we need to do this manually # with help of realpath filename = compat_realpath(sys.executable if hasattr(sys, 'frozen') else sys.argv[0]) - ydl.to_screen(f'Current version {__version__}; Build Hash {calc_sha256sum(filename)}') + ydl.to_screen(f'Current Build Hash {calc_sha256sum(filename)}') ydl.to_screen(f'Updating to version {version_id} ...') version_labels = { |