🎬 m3u8-to-mp4 API

This service converts .m3u8 streaming URLs into downloadable .mp4 files.

🛠 Usage

Send a GET request to:

/convert?url=YOUR_ENCODED_M3U8_URL&name=OPTIONAL_FILENAME

Example

/convert?url=https%3A%2F%2Fexample.com%2Fvideo.m3u8&name=my_video

If name is omitted, the filename will default to today's date (e.g. 2025-07-19.mp4).

🔐 Note

Make sure the URL is publicly accessible and properly encoded (e.g., use encodeURIComponent).

📂 Response

Returns an .mp4 file as a downloadable stream, using the name you provide (if any).