# libmhtml.py
**Repository Path**: guoky1010/libmhtml.py
## Basic Information
- **Project Name**: libmhtml.py
- **Description**: from github
将网页保存为mhtml文件
- **Primary Language**: Unknown
- **License**: Not specified
- **Default Branch**: master
- **Homepage**: None
- **GVP Project**: No
## Statistics
- **Stars**: 0
- **Forks**: 0
- **Created**: 2024-05-05
- **Last Updated**: 2024-05-05
## Categories & Tags
**Categories**: Uncategorized
**Tags**: None
## README
= [libmhtml.py]
- intro
- a python module implementing an MHTML creator/parser
- interesting functions
- libmhtml.get(url)
- libmhtml.parse(contents)
- usage
- get an URL and MTHML'ize it
> ./libmhtml.py http://www.nytimes.com /tmp/nytimes.mht
- get an MHTML file and convert it into different files
> mkdir /tmp/ex
> ./libmhtml.py -p /tmp/nytimes.mht /tmp/ex/