
Html2text is a Python module that converts a page of HTML into clean, easy-to-read plain ASCII text. Better yet, that ASCII also happens to be valid Markdown (a text-to-HTML format).
This package contains the Python 3 version of the library, and a script, html2markdown.