Skip to content

Repository files navigation

Strategus Archive

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.

How It Works

  • strategus-scrape.py runs a headless Chrome session, reads the ranking table, and appends the rows to ranking_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.

View

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.

Requirements

  • Python 3.12+
  • Selenium

Local Usage

pip install -r requirements.txt
python strategus-scrape.py

This 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.

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages