DLHD.pk HLS Proxy ================= GET /channels -> JSON list of all channels GET /channels?format=m3u -> M3U playlist of all channels GET /events -> JSON schedule with channel proxy URLs GET /stream-{id}/index.m3u8 -> rewritten HLS master playlist (cached 3s) GET /play?url= -> rewritten HLS master playlist (legacy) GET /extract?url= -> JSON scrape result GET /proxy/?referer=... -> proxied playlist / 302 redirect segment Examples: curl 'http://127.0.0.1:8080/channels' curl 'http://127.0.0.1:8080/channels?format=m3u' curl 'http://127.0.0.1:8080/events' curl 'http://127.0.0.1:8080/stream-44/index.m3u8'