BeautifulSoup4
Awesome Slugify
pip install beautifulsoup4 awesome-slugify
Create the directory for the documents:
mkdir -p love2d.docset/Contents/Resources/Documents
Then, run the python script:
python main.py
Take a coffee or a tea.
This script has been tested with Python 3.6.