zahori
v0.1.1Find 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.
| Parameter | Type | Description |
|---|---|---|
url * | string | The page containing the player. |
lang | string | Preferred 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.
| Parameter | Type | Description |
|---|---|---|
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.
| Parameter | Type | Description |
|---|---|---|
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.
| Parameter | Type | Description |
|---|---|---|
profile * | object | |
url * | string | |
global | boolean | Save 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).
| Parameter | Type | Description |
|---|---|---|
url * | string | |
headers | object | |
kind | string |
zahori_list_profiles List saved profiles
List the profiles saved on this machine and in the current project.