Skip to content

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Repository files navigation

Fantasy Manager V0.1

Local, read-only ESPN/Yahoo fantasy-football matchup dashboard. It reuses an authenticated isolated Chrome profile through CDP; it never asks for, saves, or sends your passwords/cookies to the frontend.

One-time setup

  1. npm install
  2. cp fantasy-manager.config.example.json fantasy-manager.config.json
  3. Fill in the three leagues. ESPN IDs are the leagueId in its league URL. Yahoo IDs are the number after /f1/ in the URL. For ESPN, open your team page; the teamId URL parameter is the value for myTeamId.

Run

In terminal one: npm run browser. Log into ESPN and Yahoo manually in that Chrome window, and open each league's current matchup page.

In terminal two: npm run probe to print detected fantasy tabs, likely IDs, headings, and small roster-table samples.

Then run npm run dev and visit http://127.0.0.1:5173.

The page refreshes every 60 seconds; Refresh now forces a server fetch immediately.

Adapters

ESPN first requests its league endpoint inside the authenticated Chrome page, using its existing session. Yahoo V0.1 extracts matchup tables from the authenticated Yahoo page. Neither adapter attempts login or persists credentials. A failure is isolated to its card.

Yahoo markup varies: use the regular head-to-head matchup page (not a league overview). npm run probe is intentionally concise diagnostic output to repair selectors if Yahoo changes its UI. ESPN player NFL team IDs are not translated to abbreviations yet, and projected scores/game clocks appear only when the sites expose unambiguous values.

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages