From aaaf18a53f480dd91b5430583ad0b157ffcc3ac0 Mon Sep 17 00:00:00 2001 From: Ori Avtalion Date: Wed, 3 Apr 2024 11:24:43 +0300 Subject: [PATCH] [extractor/common] Fix crash in _report_ignoring_subs --- youtube_dl/extractor/common.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/youtube_dl/extractor/common.py b/youtube_dl/extractor/common.py index 7fae9e57b..2648dd2be 100644 --- a/youtube_dl/extractor/common.py +++ b/youtube_dl/extractor/common.py @@ -1812,10 +1812,10 @@ class InfoExtractor(object): } def _report_ignoring_subs(self, name): - self.report_warning(bug_reports_message( + self.report_warning( 'Ignoring subtitle tracks found in the {0} manifest; ' - 'if any subtitle tracks are missing,'.format(name) - ), only_once=True) + 'if any subtitle tracks are missing, {1}'.format(name, bug_reports_message()), + only_once=True) def _extract_m3u8_formats(self, m3u8_url, video_id, ext=None, entry_protocol='m3u8', preference=None,