1
0
mirror of https://github.com/yt-dlp/yt-dlp synced 2025-07-09 15:23:59 -05:00

[cleanup,docs] Minor fixes

Closes #2541, #2484
This commit is contained in:
pukkandan
2022-02-03 20:32:10 +05:30
parent 460a1c08b9
commit 455a15e2dc
14 changed files with 37 additions and 35 deletions

View File

@ -1018,13 +1018,9 @@ def make_HTTPS_handler(params, **kwargs):
def bug_reports_message(before=';'):
if ytdl_is_updateable():
update_cmd = 'type yt-dlp -U to update'
else:
update_cmd = 'see https://github.com/yt-dlp/yt-dlp on how to update'
msg = 'please report this issue on https://github.com/yt-dlp/yt-dlp .'
msg += ' Make sure you are using the latest version; %s.' % update_cmd
msg += ' Be sure to call yt-dlp with the --verbose flag and include its complete output.'
msg = ('please report this issue on https://github.com/yt-dlp/yt-dlp , '
'filling out the "Broken site" issue template properly. '
'Confirm you are on the latest version using -U')
before = before.rstrip()
if not before or before.endswith(('.', '!', '?')):