Skip to content Skip to sidebar Skip to footer

Can't Figure Out How To Invoke Html5tidy From Python 3

For Python 3.5. Can someone please point me to some documentation for using html5tidy with Python 3? I'm amazed that multiple searches don't return anything. In Python 3, the docum

Solution 1:

That library is broken and/or doesn't work with python 3.5. I installed and ran into errors related to html5lib.HTMLParser https://github.com/aleray/html5tidy/blob/master/html5tidy.py#L57

Theres one contributor and the package has not been updated in 6 years

Your options are

  • fork the repo, fix the issues and submit a pull-request
  • extract the code you need and roll-your-own
  • find another library

Post a Comment for "Can't Figure Out How To Invoke Html5tidy From Python 3"