From 7737ea3ba5393a592f686dde2e8fa5a5968bf1ad Mon Sep 17 00:00:00 2001 From: Lomanic Date: Sat, 17 Apr 2021 20:40:09 +0200 Subject: [PATCH] Fix #26 append detailed error message returned by yt-dlp in video extractor Fixes https://todo.sr.ht/~cadence/tube/26 --- extractors/video.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/extractors/video.py b/extractors/video.py index 6f34a88..debf49a 100644 --- a/extractors/video.py +++ b/extractors/video.py @@ -185,7 +185,7 @@ def extract_video(id): } else: result = { - "error": "Unknown download error." + "error": "Unknown download error: {}".format(e.exc_info[1]) } except Exception: