]> jfr.im git - yt-dlp.git/blobdiff - yt_dlp/utils.py
[update] Expose more functionality to API
[yt-dlp.git] / yt_dlp / utils.py
index 10bcd5f4eca7c97afb036c4eea09410ffbfe059c..dc6894d83d28e864c4ba526e643690f7c0d38139 100644 (file)
@@ -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(('.', '!', '?')):