Welcome to the SoW Classic compendium!
🚀 An automated bot that scrapes the weekly leaderboard from Secrets of War Classic and posts it as a GitHub Discussion.
It is fully automated using GitHub Actions and GitHub App authentication.
📖 Looking for game guides and documentation?
Check out the SoW Classic Handbook for rules, strategies, and more.
- Scrapes the Top Players weekly using Selenium.
- Tracks Rank & Power Changes by comparing against the previous week.
- Converts relative timestamps (e.g., "20 days ago") to absolute dates.
- Posts to GitHub Discussions.
- Stores leaderboard history in JSON (
leaderboard_log.json
) for accurate comparisons. - Ensures correct week tracking
- Runs automatically every Monday at 12:00 UTC via GitHub Actions.
- Can also be triggered manually via GitHub Actions UI.
The bot is fully automated using GitHub Actions and runs:
- 🕛 Every Monday at 12:00 UTC
- 🔁 Can be manually triggered anytime via GitHub Actions.
- Go to the GitHub Actions Page.
- Click on "Weekly Leaderboard Bot".
- Click "Run Workflow" to trigger it instantly.
- The bot scrapes
sowclassic.com/toplists
using Selenium. - Extracts leaderboard data (Rank, Name, Power, Created).
- Formats the data into a Markdown table.
- Posts the leaderboard in GitHub Discussions.
- Runs automatically every Monday or can be run manually.