Initial commit: PDGA rating scraper and predictor

- Web scraping app for PDGA player ratings
- Current rating extraction from player pages
- Tournament round rating scraping for predictions
- Statistical rating prediction algorithm
- Interactive table with on-demand calculations
- Caching for performance optimization

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
Samuel Enocsson
2025-08-12 11:13:13 +02:00
commit deb162dc13
7 changed files with 2716 additions and 0 deletions
+32
View File
@@ -0,0 +1,32 @@
# PDGA Ratings Scraper
A web application that scrapes PDGA player ratings and displays them in a sorted table.
## Setup
1. Install dependencies:
```bash
npm install
```
2. Add PDGA numbers to `pdga-numbers.txt` (one per line)
3. Start the server:
```bash
npm start
```
4. Open http://localhost:3000 in your browser
## Usage
- Edit `pdga-numbers.txt` to add/remove players
- Click "Refresh Ratings" to scrape current ratings
- Players are automatically sorted by rating (highest first)
## Features
- Web scraping of PDGA player ratings
- Sortable table display
- Easy player management via text file
- Real-time rating updates