aboutsummaryrefslogtreecommitdiffstats
path: root/yt_dlp/extractor/testurl.py
diff options
context:
space:
mode:
authorRobert Geislinger <mail@crpykng.de>2022-11-11 08:43:08 +0530
committerpukkandan <pukkandan.ytdlp@gmail.com>2022-11-11 15:48:29 +0530
commit7aaf4cd2a8fd8ecf2123b981782c3d12dce80d78 (patch)
tree46969d7a58f67b81c2670d667fc0be40626b1ee9 /yt_dlp/extractor/testurl.py
parent8522226d2fea04d48802a9ef402438ff79227fe4 (diff)
downloadhypervideo-pre-7aaf4cd2a8fd8ecf2123b981782c3d12dce80d78.tar.lz
hypervideo-pre-7aaf4cd2a8fd8ecf2123b981782c3d12dce80d78.tar.xz
hypervideo-pre-7aaf4cd2a8fd8ecf2123b981782c3d12dce80d78.zip
[cleanup] Misc
Closes #5471, Closes #5312 Authored by: pukkandan, Alienmaster
Diffstat (limited to 'yt_dlp/extractor/testurl.py')
-rw-r--r--yt_dlp/extractor/testurl.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/yt_dlp/extractor/testurl.py b/yt_dlp/extractor/testurl.py
index 2bce3b239..dccca1004 100644
--- a/yt_dlp/extractor/testurl.py
+++ b/yt_dlp/extractor/testurl.py
@@ -21,7 +21,7 @@ class TestURLIE(InfoExtractor):
matching_extractors = [e for e in gen_extractor_classes() if rex.search(e.IE_NAME)]
if len(matching_extractors) == 0:
- raise ExtractorError('No extractors matching {extractor_id!r} found', expected=True)
+ raise ExtractorError(f'No extractors matching {extractor_id!r} found', expected=True)
elif len(matching_extractors) > 1:
try: # Check for exact match
extractor = next(