aboutsummaryrefslogtreecommitdiffstats
path: root/yt_dlp/utils.py
diff options
context:
space:
mode:
authorpukkandan <pukkandan.ytdlp@gmail.com>2022-06-21 17:02:56 +0530
committerpukkandan <pukkandan.ytdlp@gmail.com>2022-06-21 17:02:56 +0530
commit57e0f077a635ee30f37ebea71ddb70723831ecd8 (patch)
tree59ab5cbf39a2acb55b9f0c39add0c8ddd9eb520c /yt_dlp/utils.py
parentf0500bd1e4e3910abd58a1be812ba35fc20049e7 (diff)
downloadhypervideo-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.py7
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(('.', '!', '?')):