zahori

v0.1.1
io.github.josesepulvedapino/zahori Checked 4 days ago Published 4 months ago

Find the media stream behind any web page: browser-driven HLS/DASH/MP4 with learnable site profiles

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

zahori_get Resolve a stream

Resolve the media stream behind a page URL using saved profiles or the built-in generic flow. Returns the stream URL, kind, live/VOD, and replay headers.

ParameterTypeDescription
url *stringThe page containing the player.
langstringPreferred audio language for multilingual streams (e.g. es).

zahori_probe Probe a page

Open a page and gather everything needed to author a profile: media requests seen, iframes, play/consent elements, and whether the generic flow already works. Use this before proposing a profile for a new site.

ParameterTypeDescription
url *string

zahori_test_profile Test a candidate profile

Run a candidate profile against a URL and grade the result with the oracle. ok=true only when a stream was captured AND the oracle confirms it is real media. Iterate on the profile until this passes.

ParameterTypeDescription
profile *object
url *string

zahori_save_profile Save a working profile

Persist a profile so later runs are instant and free. Saves to the project (.zahori/profiles, committable) by default so it travels to production and teammates.

ParameterTypeDescription
profile *object
url *string
globalbooleanSave to the user-global dir instead of the project.

zahori_validate Validate a stream URL

Run the oracle on a resolved stream (url + headers) to check it is real media (decodes, has real audio, plausible length).

ParameterTypeDescription
url *string
headersobject
kindstring

zahori_list_profiles List saved profiles

List the profiles saved on this machine and in the current project.