Skip to content

The python program that extract mht file to html and image files.

License

Notifications You must be signed in to change notification settings

yangbo/mhtviewer

Repository files navigation

mht-unarchive

Python program to extract from mht (Microsoft HTML archive) to html and image files.

Inspired by yangbo/mhtviewer Rewritten using email.message_from_file

Usage

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.

Testing

poetry install
poetry run ptw

About

The python program that extract mht file to html and image files.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages