Skip to content

Add working season and team navigation - #79

Merged
soodoku merged 1 commit into
masterfrom
season-team-navigation
Oct 21, 2026
Merged

soodoku merged 1 commit into
masterfrom
season-team-navigation

Conversation

@soodoku

@soodoku soodoku commented Oct 21, 2026

Copy link
Copy Markdown
Contributor

PR #70 proposed Team/Season navigation, but its older Match and Series calls no longer match the current package, and several new paths contain undefined names. This replacement keeps the supported feature against ESPN's current core records: Season and Team objects, lazy Series.season_objects/current_season, complete season-backed Series.matches, and current_matches filtered by live status. Match lists and Team.match return MatchRef objects so browsing a series does not launch WebKit for every scorecard. Thanks to @killuazoldyckreal for the original feature proposal in #70.

The series-level event collection for series 1478874 currently has one item, while its season collection has eight. The new all-matches path uses season event references; the real returned MatchRef(1478874, 1478914) was successfully hydrated to a Match through Playwright. The older misc.py wrappers from #70 depend on retired match fields and are intentionally not carried over.

Validation:

  • Ruff check and format pass.
  • Python 3.10 and 3.14 local CI tests: 129 passed, 11 live tests skipped on each.
  • Full local suite with ESPN and WebKit integration: 139 passed (before the final date parsing adjustment); focused live navigation passed after that adjustment.
  • Built sdist/wheel and ran tests against the installed wheel: 129 passed, 11 skipped.
  • Navigation regression test fails with the Series production change reverted and passes after restoration.

@soodoku
soodoku merged commit a47274e into master Oct 21, 2026
2 checks passed
@soodoku
soodoku deleted the season-team-navigation branch October 21, 2026 19:02
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