diff --git a/gallery_dl/extractor/ytdl.py b/gallery_dl/extractor/ytdl.py index ea3b6156..c1358967 100644 --- a/gallery_dl/extractor/ytdl.py +++ b/gallery_dl/extractor/ytdl.py @@ -93,8 +93,12 @@ class YoutubeDLExtractor(Extractor): self.ytdl_url, ytdl_instance.get_info_extractor(self.ytdl_ie_key), False, {}, True) - except ytdl_module.utils.YoutubeDLError: - raise exception.AbortExtraction("Failed to extract video data") + # except ytdl_module.utils.YoutubeDLError: + # raise exception.AbortExtraction("Failed to extract video data") + except Exception as exc: + raise exception.AbortExtraction( + f"Failed to extract video data " + f"({exc.__class__.__name__}: {exc})") if not info_dict: return