Samuel Enocsson 351a609f41 Optimize tournament scraping with smart /details + new tournaments approach
- Use /details page as baseline for official rating rounds (source of truth)
- Only scrape tournaments played AFTER latest official round from main page
- Dramatically reduce PDGA server load: ~50+ tournaments → ~2-5 tournaments
- Add getOptimizedPlayerRounds() for efficient round collection
- Add getNewTournamentRounds() for smart tournament filtering by date
- Reduce scraping delays: 2-3s → 0.5-1s (minimal tournaments to scrape)
- Improve prediction speed: ~5+ minutes → ~30-60 seconds
- Maintain accuracy with official PDGA rating calculation methodology

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-08-18 09:21:29 +02:00

PDGA Ratings Scraper

A web application that scrapes PDGA player ratings and displays them in a sorted table.

Setup

  1. Install dependencies:
npm install
  1. Add PDGA numbers to pdga-numbers.txt (one per line)

  2. Start the server:

npm start
  1. 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
S
Description
Find rating for known players
Readme 1.4 MiB
Languages
JavaScript 63.8%
CSS 21.7%
EJS 14.2%
Dockerfile 0.3%