Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

AttributeError: 'HTMLParser' object has no attribute 'unescape' #2

Open
hernanmd opened this issue Jan 30, 2022 · 0 comments
Open

AttributeError: 'HTMLParser' object has no attribute 'unescape' #2

hernanmd opened this issue Jan 30, 2022 · 0 comments

Comments

@hernanmd
Copy link

After installing six manually, then I tried to run again

❯ python3 vtt2srt.py myFile.vtt myFile.srt
Traceback (most recent call last):
  File "vtt-to-srt-converter/vtt2srt.py", line 92, in <module>
    main()
  File "vtt-to-srt-converter/vtt2srt.py", line 88, in main
    convert_vtt_to_srt_v3(in_vtt, out_srt)
  File "vtt-to-srt-converter/vtt2srt.py", line 72, in convert_vtt_to_srt_v3
    html_unescape(clean_tags(cue_text))
  File "vtt-to-srt-converter/vtt2srt.py", line 25, in html_unescape
    return _ghp.unescape(s)
AttributeError: 'HTMLParser' object has no attribute 'unescape'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant