Automated archive of the Strategus Elo rankings. A GitHub Actions workflow scrapes the site daily and commits the results, and a static dashboard lets you browse the archive by date.
strategus-scrape.pyruns a headless Chrome session, reads the ranking table, and appends the rows toranking_history.csv.- The ranking date is derived from the JSON
timestamp(UTC), so it's consistent regardless of the host's locale. - A scheduled GitHub Actions workflow (
.github/workflows/workflow.yml) runs the scraper daily and commits any new data.
Open ckfaraday.github.io/strategus-archive/ to view the archive. It fetches the CSV and lets you pick a date to display that day's rankings.
- Python 3.12+
- Selenium
pip install -r requirements.txt
python strategus-scrape.pyThis appends today's ranking data from strategus.appspot.com and appends them to the ranking_history.csv file if the data for this date does not already exist.