Browse Source

Fixed Latin-1 decode problems

Fixes Latin-1 decode problems
pull/298/head
Loibl33 8 months ago committed by GitHub
parent
commit
07e96f122d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 2
      installer/client/cli/yt.py

2
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:

Loading…
Cancel
Save