Skip to content

Conversation

@nikhilutexas
Copy link
Contributor

Summary

  • Add UFC scraper that fetches events directly from UFC.com (more accurate dates than TheSportsDB)
  • New endpoint: /ufc/events

UFC Scraper Details

  • Scrapes UFC.com events pages for accurate event data
  • Uses data-timestamp attribute for precise event times
  • Extracts fighter names, venues, and fight card info
  • Deduplicates events by URL slug and UID

This replaces TheSportsDB for UFC events which had dates off by ~1 day.

Test plan

  • Tested UFC scraper locally - returns 24 unique events with correct dates
  • Verified ICS and JSON endpoints work correctly
  • Deploy and verify /ufc/events endpoint works in production
  • Update UFC category in database to use new endpoint

🤖 Generated with Claude Code
via Happy

- Scrapes UFC.com events pages for accurate event data
- Uses data-timestamp attribute for precise event times
- Extracts fighter names, venues, and fight card info
- Deduplicates events by URL slug and UID
- New endpoint: /ufc/events

This replaces TheSportsDB for UFC events which had dates off by ~1 day.

Generated with [Claude Code](https://claude.ai/code)
via [Happy](https://happy.engineering)

Co-Authored-By: Claude <noreply@anthropic.com>
Co-Authored-By: Happy <yesreply@happy.engineering>
@nikhilutexas nikhilutexas merged commit c2939da into Sync2Cal:main Feb 6, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant