diff --git a/youtube_dl/extractor/generic.py b/youtube_dl/extractor/generic.py index b01900afa..85315eb04 100644 --- a/youtube_dl/extractor/generic.py +++ b/youtube_dl/extractor/generic.py @@ -3701,7 +3701,7 @@ class GenericIE(InfoExtractor): return self.url_result(embed_url) if not found: - raise UnsupportedError(url) + raise UnsupportedError(f"The URL '{url}' might not be supported by youtube-dl.") entries = [] for video_url in orderedSet(found):