From 07e96f122d7503cb160685f65af84720fa67d79b Mon Sep 17 00:00:00 2001 From: Loibl33 <76207404+Loibl33@users.noreply.github.com> Date: Mon, 25 Mar 2024 11:00:34 +0100 Subject: [PATCH] Fixed Latin-1 decode problems Fixes Latin-1 decode problems --- installer/client/cli/yt.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/installer/client/cli/yt.py b/installer/client/cli/yt.py index b0449a0..cd5585b 100644 --- a/installer/client/cli/yt.py +++ b/installer/client/cli/yt.py @@ -103,7 +103,7 @@ def main_function(url, options): if options.duration: print(duration_minutes) elif options.transcript: - print(transcript_text) + print(transcript_text.encode('utf-8').decode('unicode-escape')) elif options.comments: print(json.dumps(comments, indent=2)) else: