Wire Route B (DaddyLive / dembed.st channel route) for free-to-air NCAAW coverage #189
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
Wire Route B — the DaddyLive / dembed.st channel route — as a new stream source, for the women's-college-basketball (NCAAW) games it captures on free-to-air channels (CW / SEC Network / BTN). Route B was identified in #86 and its mechanism proven end-to-end live on 2026-11-04, but it was never wired: it is a new source kind (a fixed set of channels plus a game→channel mapping from a schedule feed), not a per-game-page source like the wired sportsurge / thetvapp / watchsports.
Adoption bar (per the operator): this must be well-designed and thoroughly tested before it is adopted. Do not wire it on the strength of the 2026-11-04 mechanism proof alone — the open questions below need a design, and the live re-test plus the token-refresh proof are required.
Why
The NCAAW gap is structural (docs/stream-sources.md, "2026-11-17 — NCAAW round three"): most women's games air on paywalled conference services (ESPN+, B1G+, MW+, ACCNX, SECN+) that no free aggregator re-streams. The wired sources (watchsports, thetvapp) list only the handful of NCAAW games their users post. Route B is the one free path that reaches NCAAW games on a free-to-air channel: it maps a game to a broadcast channel and plays that channel. On 2026-11-17 it mapped 2 of 37 NCAAW games to a channel (Rider–FDU; Texas Southern–Oklahoma on SEC Network); the rest were "Channel Not Listed" (the paywalled bulk). So the realistic expectation is a handful of extra NCAAW games per day, not the bulk — but it is an independent network from the wired sources and reaches games they do not list.
What is already known (mechanism proven live 2026-11-04 — do not re-derive)
The chain, hop for hop (docs/stream-sources.md, "2026-11-03/04" Route B and "2026-11-08/09"):
https://ntv.cx/api/get-matches?server=phoenix&type=both. Each match carriessources[].source(the channel slug, e.g.secnetworkusa) andsources[].url(e.g.https://thedaddy.li/stream/stream-385.php). A game with no channel ischannelnotlistedjust/stream-00.php.dembed.st/premiumtv/daddy.php?id=<ch>(no Cloudflare gate, plain curl), which carriesconst SRC = "https://edge.wedd48c.top/premium<ch>/index.m3u8"andconst CHANNELin plain text.GET <edge>/api/playlist-token?slug=<channel>requires the headerOrigin: https://dembed.st(403 "forbidden" without) and returns{"token": "<epoch>.<32-hex>", "ttl": 120}— IP-bound, 120 s TTL.?t=<token>&_=<ts>→ 200, live HLS, ~6.1 s segments, TARGETDURATION 7.p16-common-sign.tiktokcdn-us.com, content-typeimage/png, ~4.1 MB each). The pixel bytes areTIKTIKPX, a big-endian 4-byte length and gzip → clean MPEG-TS.packed.pyalready unwraps this exact layout (#68).isEmbeddedcheck) — irrelevant for a direct-API adapter that reads the token + manifest itself.The DaddyLive family's domains rotate (dlive.sx / dlhd.st → thedaddy.pk / thedaddy.li; the edge host
edge.wedd48c.toprotates). The 2026-11-17 re-check found the channel set no longer carries ESPN+ USA / SECN+ / ACCNX (the 2026-11-03/04 note's channels) — now only BTN, CW, ESPN, SEC Network, Fox Sports 1/2.Open design questions (need a design before implementation)
Adapterprotocol is per-game (resolve(game) → StreamRef, orcandidates(game)). Route B is a channel source: a fixed channel list (refreshed on a cadence) + a game→channel map (from the feed) + a per-channel stream read (token + manifest). How does this fitresolver/without forcing the channel model onto the per-game adapters? (A separate adapter kind, a new candidates shape, or a channel registry the ladder reads?)matchup_matchesname matching, or does the feed carry an ESPN id somewhere we can key on?playlist-token) before it expires and splice the new manifest — or the channel drops mid-game. Design the refresh (who owns it, how the rewriter rewrites the manifest URL on each refresh).prd.jwpltx.com/.../ping.gif?...&mu=<m3u8>) as the stream. This source needs a reader that does not.Testing required before adoption
packed.py).References
Closing as not adopted (2026-11-18).
Route B was designed and fully implemented on a local branch (
route-b-daddylive, now deleted): the channel-source adapter, the ntv.cx feed merge, the channel token renewal, and the stricter extractor — with the full backend test lane (1329) and the e2e lane green. But the live re-test gate (the adoption bar) cannot pass: the route's mechanism changed after the 2026-11-04 proof, and it is not viable for the app.What changed (verified 2026-11-17/18 against guaranteed-live 24/7 news channels — CNN, Fox News, BBC News, Sky News — so liveness was not the variable):
Origin: https://dembed.st) is gone: the token 403s "forbidden" (retry-after: 3600) for every channel, live or dark. The dembed.st player now loads the Turnstile widget and sends its token to the edge.request.getdoes not expose, and the token endpoint 403s the solver's browser too (the Turnstile token is a request parameter, not a cookie).ghcr.io/germondai/trawl:1.11.1, the best off-the-shelf fit) does pass the Turnstile — its Camoufox browser solves the challenge and the player fetches the token (200, now carrying a newkfield) — but the route is still unusable:tkproof embeds it) 403s across every URL shape (incl.k) and both User-Agents; no cookies are set by the edge.captureResponsescannot reliably capture the manifest (0/9 scrapes; the manifest fetch fires after the settle window's network-idle end).Decision: not adopted. The only remaining path — a custom stealth-browser harvester (run Camoufox in-process, defeat autoplay, tap the iframe's manifest fetches every ~6 s) — is a fragile, ongoing-maintenance effort (Turnstile is a moving target) for a source whose measured benefit is two channel-carrying WCB games (that day's 37 WCB games: 2 with a real channel, 35 "Channel Not Listed"). The branch is deleted; nothing is merged and no spec deltas are applied.
The detailed evidence lived in
docs/stream-sources.md("2026-11-17 — NCAAW round three") on the deleted branch; the findings above are the standing record. Re-check only if the edge lifts the Turnstile gate (a 200 on a 24/7 news channel's token endpoint) or a reliable Turnstile+manifest harvester appears.