arCHMage converts CHM files to HTML, plain text and PDF. CHM is the format used by Microsoft HTML Help, also known as Compiled HTML.
archmage -x <chmfile> [output directory]
Extraction does not overwrite existing directories.
archmage -d <chmfile>
archmage -c (html|text|pdf) <chmfile> [output file]
This feature requires htmldoc(1)
, and lynx(1)
or elinks(1)
installed.
Archmage uses PyCHM that depends on (C library) CHMlib. After CHMlib is installed, do
pip install archmage
arCHMage has the following dependencies:
- Python 3.6+
- PyCHM
- BeautifulSoup4
Optional dependencies:
- htmldoc - converting to plain text, single HTML, PDF formats
(Debian/Ubuntu:
htmldoc
) - Lynx or ELinks - converting to plain text
(Debian/Ubuntu:
lynx
)