A simple json script that downloads .m3u8 files (better for movies) directly from raycast using command lines.
It uses yt-dlp, ffmpeg, and ffprobe.
On a succesful download, the script creates a a folder with inside the video file and a subtitle file from opensubs (if found).
- yt-dlp, ffmpeg, ffprobe
- Optional: aria2c (faster downloads), subliminal (OpenSubtitles)
To execute the script use the keyword .m3u8 inside raycast then press tab to fill in the fields.
The different fields are:
Link: Paste the.m3u8linkSpeed: Choose a download speed. Don't exeed 40, true download speed depends on the server configuration.Name: This will be the name of the file and folder created. Be as accurate as possible if you want the script to find the matching subs, adding the year makes it more accurate
-
- Download
m3u8 downloader.jsfrom the source code or from the latest release https://github.com/EllandeVED/m3u8-downloader-for-raycast/releases/latest - Move it to
~/.raycast/extensions(create theextensionsfolder if needed). It is a hidden folder, presscmd + upper case + .to make it appear.
- Download
-
- Download
m3u8 downloader.jsfrom the source code or from the latest release https://github.com/EllandeVED/m3u8-downloader-for-raycast/releases/latest - Where ever you want, create a folder (
Raycast_scriptsfor exemple), and movem3u8 downloader (portable).jsin there - in Raycast settings, navigate to Extensions/Scripts or in Extentions/+ . Click on
add a directoryand choose the folder previously created with the script inside
- Download