Via redfox.hk API parses YouTube video links and directly returns watermark-free video download links (resources may include video and audio files in different formats).
Capability Overview
- Platform Support:YouTube
- Content Type: Video/audio (mp4 / webm / m4a and other formats; resources may include video and audio files)
- Input Method: Just paste a YouTube video link (only one link at a time; batch upload is not supported)
- Output Result: Directly returns video download links; copy to a browser or download tool to save
- Link Display Rules: Download links and cover links must display the complete original URL; it is strictly prohibited to use
...or any form of truncation - Field Display Rules: The returned result must fully display the following fields:
- Content description (desc): Display the complete original text line by line, without truncation
- Resource list: For each resource object, display its type (type), duration (durationSeconds), download link (downloadUrl), and cover link (coverUrl)
- When the API does not return a resources array, automatically fall back to extracting top-level fields with the same names to ensure compatibility
How to Use
Example Commands
Download YouTube video:
python3 "$SKILL_PATH/scripts/downloader.py" "https://www.youtube.com/watch?v=xxxxx"
First-Time Use
Configure the API Key first, then run:
# 设置环境变量
export REDFOX_API_KEY=ak_你的密钥
# 解析视频,获取下载链接
python3 "$SKILL_PATH/scripts/downloader.py" "https://www.youtube.com/watch?v=xxxxx"
Go to redfox.hk to register and obtain an API Key.
Subsequent Use
Configuration methods (choose one):
| Method | Command |
|---|---|
| Environment Variable(Recommended) | export REDFOX_API_KEY=ark_你的密钥 |
| Command-Line Argument | python3 "$SKILL_PATH/scripts/downloader.py" "<链接>" --api-key ark_你的密钥 |
| Configuration File | echo '{"api_key":"ark_你的密钥"}' > ~/.qoder/apis/redfox.json |
Key Features
| Feature | Description |
|---|---|
| Watermark-Free Direct Links | The API automatically returns watermark-free video download links without manual processing |
| Multiple Resources Available | Returns multiple resources (video files, audio files, etc.), lists all download links in order; choose the one you need by type |
| Paste and Parse Instantly | Just paste the video link; no additional operations required |
| Direct Results | Returns download links directly after parsing; copy and use immediately |
Common Use Cases
| Scenario | Example Link | Description |
|---|---|---|
| Save videos on YouTube | https://www.youtube.com/watch?v=xxxxx |
Get watermark-free video/audio download links |
| Offline saving of YouTube Shorts | https://www.youtube.com/shorts/xxxxx |
After parsing, copy the link to download and save |
| Content secondary creation | Any YouTube video link | Download materials for editing and creation |
| Material backup | Any YouTube video link | Back up your favorite videos locally |
Supported work link formats
| Platform | Link format | Example |
|---|---|---|
| YouTube regular video | https://www.youtube.com/watch?v=<videoId> |
Standard video link |
| YouTube Shorts | https://www.youtube.com/shorts/<videoId> |
Shorts short video |
| YouTube short link | https://youtu.be/<videoId> |
Share short link |
FAQ
Q: How do I get my own API Key? A: Go to redfox.hk to register and get a Token.
Q: Do the downloaded videos have watermarks? A: No. The API returns direct links to watermark-free videos.
Q: Will multiple resources be returned? A: Yes. The API usually returns multiple resources, which may include video files and audio files in different formats (such as mp4, webm, m4a, etc.). The download link for each resource will be fully listed, so you can choose as needed.
Q: Can I upload multiple links in bulk? A: No. You can only enter one link at a time; bulk uploads will cause parsing to fail.
Q: What should I do if the link shows a parsing failure? A: Confirm whether the link is complete, whether the video still exists, and whether it is region-restricted content. Deleted or restricted videos cannot be parsed.
Learn more
This tool is built on redfox.hk 's parseWork/videoDownload/youtube API. Visit the official website to see more API capabilities and usage documentation.