Un/packs a MHT (MHTML) archive into/from separate files, writing/reading them in directories to match their Content-Location.
A fork from Modified/MHTifier.
Under development, so no public API should be assumed.
After a total rewrite, a suitable license will be chosen.
- Python, >= 3.10
- Cleanest would've been to use stdin/out, but turned out inconvenient, annoying even, so added command line options.
- Verify index.html is present!?
- A few un/Pythonisms, idioms, I guess.
- Rewrite whole program to provide stable public APIs. Preferably, keep it as a single file with no dependency other than Python 3 and its standard libraries.