This Skill allows the AI assistant to respond to users' video download requests. When the user provides a video link and a movie/video name, the assistant will automatically perform the download task.
Trigger Conditions
When the user sends a request similar to the following:
- "Help me download this video [URL], it's called [name]"
- "Download movie [name]: [URL]"
Steps
- Extract information: Extract from the user input the
视频链接(URL) and电影名称(Save Name)。 - Locate directory: Enter the specified download directory (defaults to the project root directory or a specific downloads folder).
- Execute command: Use the
nretool to download, with the default number of threads set to 16.
Command Template
The instruction the assistant should generate is as follows:
nre "[URL]" --save-name "[电影名称]" --thread-count 16
Example
User: "Download this:https://example.com/movie.m3u8,名字叫 'My Movie'"
Assistant: (In progress...)
nre "https://example.com/movie.m3u8" --save-name "我的电影" --thread-count 16
Notes
- Tool requirement: Ensure that the
nretool is installed in the environment and can be invoked. - Installation guidance: If
nre(N_m3u8DL-RE) is not installed on the system, please guide the user to the N_m3u8DL-RE GitHub repository to view installation and usage instructions. - Name handling: Handle special characters or spaces in the movie name to ensure it is correctly quoted in the command.