How to use:

pip install -r requirements.txt
./extract.py file1.html file2.html ...

This will write CSV files to file1.csv, etc.