HTML parsing logic for https://www.erieri.com/cost-of-living-calculator
. Was written to help my wife and I better understand the differences between potential cities for her fellowship.
Be aware that website frontend can change whenever - the badge indicates if the website HTML has changed since this code was written.
Intended to be called like:
wget -q https://www.erieri.com/cost-of-living/united-states/illinois/chicago -O - | pipenv run python eriparse/main.py >> chicago.json
Or, if you'd like to integrate it into your Python code
pip install eriparse
and then
from eriparse import parse
The test uses HTML taken from July, 2023.
Github Actions stops running scheduled jobs if no commits have been pushed after certain period of time. For now, we work around this by modifying the below tally as a dummy commit.
|