Skip to content
This repository has been archived by the owner on Jun 22, 2024. It is now read-only.

Latest commit

 

History

History
23 lines (18 loc) · 522 Bytes

README.md

File metadata and controls

23 lines (18 loc) · 522 Bytes

moodlmth

Convert raw HTML pages into python source code

What..?

moodlmth is the reverse of htmldoom

Usage

# Convert web page to Python syntax
moodlmth https://google.com

# Convert web page into YAML syntax
moodlmth -s yaml https://google.com

# Convert HTML file and write to another file
moodlmth /filepath/index.html -o index.py

# Force conversion
moodlmth index.html -o index.py --fast --debug