diff options
author | pukkandan <pukkandan.ytdlp@gmail.com> | 2022-06-21 17:02:56 +0530 |
---|---|---|
committer | pukkandan <pukkandan.ytdlp@gmail.com> | 2022-06-21 17:02:56 +0530 |
commit | 57e0f077a635ee30f37ebea71ddb70723831ecd8 (patch) | |
tree | 59ab5cbf39a2acb55b9f0c39add0c8ddd9eb520c /yt_dlp/utils.py | |
parent | f0500bd1e4e3910abd58a1be812ba35fc20049e7 (diff) | |
download | hypervideo-pre-57e0f077a635ee30f37ebea71ddb70723831ecd8.tar.lz hypervideo-pre-57e0f077a635ee30f37ebea71ddb70723831ecd8.tar.xz hypervideo-pre-57e0f077a635ee30f37ebea71ddb70723831ecd8.zip |
[update] Expose more functionality to API
Diffstat (limited to 'yt_dlp/utils.py')
-rw-r--r-- | yt_dlp/utils.py | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/yt_dlp/utils.py b/yt_dlp/utils.py index 10bcd5f4e..dc6894d83 100644 --- a/yt_dlp/utils.py +++ b/yt_dlp/utils.py @@ -991,9 +991,10 @@ def make_HTTPS_handler(params, **kwargs): def bug_reports_message(before=';'): - msg = ('please report this issue on https://github.com/yt-dlp/yt-dlp/issues?q= , ' - 'filling out the appropriate issue template. ' - 'Confirm you are on the latest version using yt-dlp -U') + from .update import REPOSITORY + + msg = (f'please report this issue on https://github.com/{REPOSITORY}/issues?q= , ' + 'filling out the appropriate issue template. Confirm you are on the latest version using yt-dlp -U') before = before.rstrip() if not before or before.endswith(('.', '!', '?')): |