Browse Source

Merge pull request #298 from Loibl33/patch-1

Fixed Latin-1 decode problems
pull/325/head
Daniel Miessler 1 year ago committed by GitHub
parent
commit
ac80af3d7f
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: if options.duration:
print(duration_minutes) print(duration_minutes)
elif options.transcript: elif options.transcript:
print(transcript_text) print(transcript_text.encode('utf-8').decode('unicode-escape'))
elif options.comments: elif options.comments:
print(json.dumps(comments, indent=2)) print(json.dumps(comments, indent=2))
else: else:

Loading…
Cancel
Save