How I Built a Live TV Search Tool After M3U Links Died
说明与用途
构建了一个轻量级的网页工具,每天抓取并验证直播电视流链接,用户可即时搜索到可用频道,省去手动测试的麻烦。
问题
Free M3U playlists for live TV channels expire quickly, leaving users unable to watch desired content and forcing them to manually search for working streams.
结果
The tool reduces downtime for live TV viewers, provides a free and open‑source solution, and has gained traction among overseas Chinese communities.
工作流
- 1. Crawl public streaming source lists every morning using a Node.js script on Cloudflare Workers.
- 2. Test each URL to determine if the stream is active.
- 3. Store only healthy URLs in a D1 database.
- 4. Expose a search page where users can query by channel name, country, or category to retrieve a live stream URL instantly.
证据
I wrote a script that crawls public streaming sources every morning, tests which URLs actually work, and keeps only the healthy ones.
The tech stack is pretty minimal: Node.js on Cloudflare Workers, D1 for the database, and a daily cron job to refresh the source list.
- 记录日期: 2026-09-07T08:22:44.197Z