mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2025-10-01 22:54:51 +00:00
Preparing for release
This commit is contained in:
@@ -2323,8 +2323,8 @@ def bug_reports_message():
|
||||
if ytdl_is_updateable():
|
||||
update_cmd = 'type youtube-dlc -U to update'
|
||||
else:
|
||||
update_cmd = 'see https://github.com/blackjack4494/yt-dlc on how to update'
|
||||
msg = '; please report this issue on https://github.com/blackjack4494/yt-dlc .'
|
||||
update_cmd = 'see https://github.com/pukkandan/yt-dlc on how to update'
|
||||
msg = '; please report this issue on https://github.com/pukkandan/yt-dlc .'
|
||||
msg += ' Make sure you are using the latest version; %s.' % update_cmd
|
||||
msg += ' Be sure to call youtube-dlc with the --verbose flag and include its complete output.'
|
||||
return msg
|
||||
@@ -5734,6 +5734,7 @@ def random_birthday(year_field, month_field, day_field):
|
||||
day_field: str(random_date.day),
|
||||
}
|
||||
|
||||
|
||||
# Templates for internet shortcut files, which are plain text files.
|
||||
DOT_URL_LINK_TEMPLATE = '''
|
||||
[InternetShortcut]
|
||||
@@ -5812,6 +5813,7 @@ def to_high_limit_path(path):
|
||||
|
||||
return path
|
||||
|
||||
|
||||
def format_field(obj, field, template='%s', ignore=(None, ''), default='', func=None):
|
||||
val = obj.get(field, default)
|
||||
if func and val not in ignore:
|
||||
|
Reference in New Issue
Block a user