Merge pull request #600 from tcely/patch-6

Do not log download progress lines by default
This commit is contained in:
meeb 2024-12-26 11:56:59 +11:00 committed by GitHub
commit 2591e384b4
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -151,6 +151,7 @@ def download_media(url, media_format, extension, output_file, info_json,
'outtmpl': os.path.basename(output_file), 'outtmpl': os.path.basename(output_file),
'quiet': False if settings.DEBUG else True, 'quiet': False if settings.DEBUG else True,
'verbose': True if settings.DEBUG else False, 'verbose': True if settings.DEBUG else False,
'noprogress': None if settings.DEBUG else True,
'progress_hooks': [hook], 'progress_hooks': [hook],
'writeinfojson': info_json, 'writeinfojson': info_json,
'postprocessors': [], 'postprocessors': [],