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