SuperAPI AI Directory

video-downloader

Design & creation

View repository

Updated 10-15 21:43

About this skill

Video Downloader Skill

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

  1. Extract information: Extract from the user input the 视频链接 (URL) and 电影名称 (Save Name)。
  2. Locate directory: Enter the specified download directory (defaults to the project root directory or a specific downloads folder).
  3. Execute command: Use the nre tool 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 nre tool 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.