Python program to extract from mht
(Microsoft HTML archive) to html and image files.
Inspired by yangbo/mhtviewer
Rewritten using email.message_from_file
curl -sSL https://install.python-poetry.org | python3 - # install poetry
poetry install
poetry run ./extract.py <file.mht>
poetry run ./relink.py <mht file> <review_tag>
Output is written to a folder with the same name as the original HTML file.
poetry install
poetry run ptw