~cadence/tube-devel

NewLeaf: Fix #26 append detailed error message returned by yt-dlp in video extractor v1 APPLIED

~lomanic
~lomanic: 1
 Fix #26 append detailed error message returned by yt-dlp in video extractor

 1 files changed, 1 insertions(+), 1 deletions(-)
Export patchset (mbox)
How do I use this?

Copy & paste the following snippet into your terminal to import this patchset into git:

curl -s https://lists.sr.ht/~cadence/tube-devel/patches/22085/mbox | git am -3
Learn more about email & git
View this thread in the archives

[PATCH NewLeaf] Fix #26 append detailed error message returned by yt-dlp in video extractor Export this patch

~lomanic
From: Lomanic <lomanic@hotmail.fr>

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 c6f95a5..c731383 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:
-- 
2.30.2
Thanks! I was wondering how to do this.

Patch applied as 7737ea3.