This project includes an API endpoint to extract .m3u8 links from any web page, including JavaScript-heavy dynamic sites.
Send a GET request to:
/api/extractor?url=https://target-website.com
Returns JSON with the first .m3u8 link and all found links.
npm install
npm run devThen visit:
http://localhost:3000/api/extractor?url=https://example.com
Deployed to Vercel or any platform supporting Node.js serverless functions.
Note: Puppeteer is required and already included in package.json.