Account Video Downloader logo

Account Video Downloader

Community
redfox-data
account-video-downloader

多平台账号主页视频提取器 — 输入平台名称和账号id/链接,自动拉取抖音/快手/B站/YouTube 四大平台主页作品,解析下载链接,支持批量下载。适用场景:竞品账号内容拆解与逐帧学习、收藏喜欢的创作者全部作品避免被删、批量搬运素材二次剪辑创作、保存自己账号作品做本地备份防丢失、课程/教程类视频离线囤货反复看、达人合作前快速拉取对方作品做背调分析。触发词:主页视频下载、批量下载视频、账号视频提取、快手主页下载、B站视频提取、YouTube频道下载、视频保存、无水印下载、竞品视频下载、博主视频备份。

Overview

Publisherredfox-data
Repositoryredfox-community
Skill nameaccount-video-downloader
Stars
449
Forks
59
Bundled files
8
Links
  • Markdown instructions

    A SKILL.md file the model loads on demand, so it only costs tokens when a request actually matches.

  • Works with any LLM

    AI skills are plain Markdown, not provider-specific code, so this works with GPT, Claude, Gemini, Grok, or a local model.

  • 8 bundled files

    Scripts, templates, and references the model can read while it works. Files are read-only and never executed.

  • Open source

    Published by redfox-data on GitHub. Read the source before you install it.

Installation

Install the Account Video Downloader AI skill in TypingMind to use it with any LLM, or drop it into another agent that reads SKILL.md.

1

Install in TypingMind

TypingMind installs a skill straight from its GitHub folder — it reads SKILL.md, bundles the resource files, and stores the result locally.

  1. Open the app and go to Plugins → Skills.
  2. Choose "Install from GitHub".
  3. Paste the skill folder URL below and confirm.
    https://github.com/redfox-data/redfox-community/tree/main/skills/account-video-downloader
  4. Enable the skill in any chat where you want it available.
Plugins → Skills → Add skill → From GitHub URL, then paste the folder URL and press Continue.
2

Install in another agent

Any agent that reads the Agent Skills format can use this skill — copy the folder into that agent's skills directory.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/redfox-data/redfox-community.git /tmp/redfox-community
mkdir -p .claude/skills
cp -r /tmp/redfox-community/skills/account-video-downloader .claude/skills/account-video-downloader
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Account Video Downloader in any TypingMind chat and the model takes it from there. Its name and description sit in the system prompt, and the moment a request matches, the model loads the full instructions itself — you never invoke it by hand, and it costs no tokens until it is actually used.

The model loads Account Video Downloader on its own as soon as a request matches it.

Works with any AI model

AI skills are plain Markdown instructions rather than provider-specific code, so Account Video Downloader is not tied to the model it was written for. Install it once in TypingMind and use it with GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama, or a local model you run yourself — all on your own API keys.

  • Loaded only when it is needed

    The system prompt carries just the name and description. The instructions are fetched on the first matching request, so an idle skill costs nothing.

  • Switch models mid-chat

    Because the skill is instructions rather than code, changing model does not break it — the next model reads the same SKILL.md.

Skill instructions

This is the SKILL.md content the model loads. Read it before installing — a skill is instructions your model will follow.

多平台账号主页视频提取器

输入平台 + 账号 → 拉取作品列表 → 解析下载链接 → 一键下载到本地


简介

多平台账号主页视频批量下载工具。支持 抖音、快手、B站、YouTube 四大平台,只需提供平台名称和账号标识,自动拉取该账号近期作品列表,逐条解析视频/图文下载直链,支持一键批量下载到本地。


功能特性

功能说明
📋 作品拉取通过账号获取主页近期作品(标题、互动数据、作品链接)
🔗 链接解析逐条调用解析接口,获取视频/图文下载直链
📥 批量下载一键下载全部作品(视频+图文)到本地 output/ 目录
📊 数据展示Markdown 表格 / JSON 双格式输出,含完整互动数据
📄 分页翻页支持翻页查看更多作品
📅 日期筛选可按作品发布时间挑选
🌐 多平台一个工具覆盖抖音/快手/B站/YouTube 四大平台

支持平台

--platform平台账号标识说明
douyin抖音抖音号如 Fish688688
kuaishou快手快手号如 Fish688688
bilibili哔哩哔哩主页链接(accountUrl)如 https://space.bilibili.com/123456
youtubeYouTube频道 URL(channel)如 https://www.youtube.com/@channel

API 说明

本 Skill 调用 redfox.hk 接口,每个平台分两步:

步骤接口路径说明
1. 拉取作品POST /story/api/{platform}/...根据账号标识获取作品列表
2. 解析下载POST /story/api/parseWork/videoDownload/{platform}根据作品链接获取下载直链

认证

前往 红狐hub 获取 API Key,设为环境变量:

bash
# macOS / Linux
export REDFOX_API_KEY=ak_你的密钥

# Windows PowerShell
$env:REDFOX_API_KEY="ak_你的密钥"

使用方式

CLI 命令行

bash
# 抖音:基础用法
python3 "$SKILL_PATH/scripts/main.py" --platform douyin --account "Fish688688"

# 快手:基础用法
python3 "$SKILL_PATH/scripts/main.py" --platform kuaishou --account "kwaiId"

# B站:拉取作品并解析下载链接(不下载文件)
python3 "$SKILL_PATH/scripts/main.py" --platform bilibili --account "https://space.bilibili.com/123456"

# YouTube:下载视频到本地
python3 "$SKILL_PATH/scripts/main.py" --platform youtube --account "https://www.youtube.com/@channel" --download

# YouTube:指定下载目录
python3 "$SKILL_PATH/scripts/main.py" --platform youtube --account "https://www.youtube.com/@channel" --download --output-dir ./my_videos

# 指定作品数量(默认10,最多50)
python3 "$SKILL_PATH/scripts/main.py" --platform bilibili --account "MID" --count 20 --download

# 翻页查看更多作品
python3 "$SKILL_PATH/scripts/main.py" --platform kuaishou --account "用户ID" --page 2

# 按日期范围筛选作品
python3 "$SKILL_PATH/scripts/main.py" --platform bilibili --account "MID" --date-start 2026-07-01 --date-end 2026-07-31

# 多账号(逗号分隔)
python3 "$SKILL_PATH/scripts/main.py" --platform bilibili --accounts "MID1,MID2" --download

# 组合使用:第2页 + 日期过滤 + 下载
python3 "$SKILL_PATH/scripts/main.py" --platform bilibili --account "MID" --page 2 --count 20 --date-start 2026-06-01 --download

参数说明

参数说明
--platform目标平台(必填,见上表)
--account单个账号标识
--accounts多个账号标识,逗号分隔
--count拉取作品数量(默认10,最多50)
--page页码(默认1)
--date-start起始日期 YYYY-MM-DD
--date-end结束日期 YYYY-MM-DD
--download下载视频文件到本地
--output-dir下载目录(默认 output/)
--jsonJSON 格式输出
--rate-limit请求间隔秒数(默认 1.0)

依赖

依赖安装命令
requestspip3 install requests

账号标识要求

不同平台对账号标识有不同要求,必须提供各平台的唯一标识:

平台要求URL 支持获取方式
B站主页链接(accountUrl)✅ 支持直接复制个人空间页 URL
YouTube频道 URL(channel)✅ 支持直接复制频道页 URL
抖音抖音号(uniqueName)❌ 不支持抖音 APP → 目标主页 → 头像下方「抖音号:xxx」字段
快手账号 ID(kwaiId)❌ 不支持快手 APP → 目标主页 → 昵称下方显示的 ID

⚠️ 抖音、快手不支持主页链接! 如果用户粘贴了 URL,必须提示用户提供上述唯一标识。

重要: 若用户只输入账号名称而未提供唯一标识,必须提示用户提供准确的唯一标识。

📸 抖音号获取方式: 打开抖音 APP → 进入目标用户主页 → 在头像下方、粉丝数据下方可看到「抖音号:xxx」字段。若用户不确定抖音号在哪,可展示示意截图(红框标注「抖音号」位置)帮助用户定位。


Agent 集成指南

触发词

  • 主页视频下载 / 批量下载视频 / 账号视频提取
  • 抖音下载 / 抖音视频提取 / 下载抖音作品
  • B站视频提取 / B站视频下载 / 哔哩哔哩视频下载
  • YouTube频道下载 / YouTube视频提取
  • 帮我下载 xxx 的主页视频

Agent 执行流程

Step 1: 确认用户意图、平台与账号标识
  - 从用户输入中识别目标平台(抖音/快手/B站/YouTube)
  - 若用户未明确平台,询问:「你想下载哪个平台的视频?」
  - 确认账号标识格式正确,若用户提供的是中文昵称,提示提供唯一 ID

Step 2: 识别用户输入的时间范围(如有)
  - 若用户提到了作品时间范围,自动识别并转换为 --date-start / --date-end:
    - "7.1~7.20" → --date-start 2026-07-01 --date-end 2026-07-20
    - "7月1日到7月20日" → --date-start 2026-07-01 --date-end 2026-07-20
    - "最近一周" → 当前日期往前推 7 天
    - "上个月" → 上个月 1 日到上个月最后一天
    - "7月份的作品" → --date-start 2026-07-01 --date-end 2026-07-31
  - 日期格式固定为 YYYY-MM-DD,年份默认为当前年份
  - 若用户要求"继续"/"下一页",添加 --page N

Step 3: 调用脚本拉取作品 + 解析下载链接
  python3 "$SKILL_PATH/scripts/main.py" --platform <platform> --account "<id>"

Step 4: 展示结果 + 询问翻页
  - 展示 Markdown 表格,含可点击的作品链接和下载链接
  - 若有失败:提示「可能是用户已删除该视频,如需数据核查可联系工作人员邮箱 redfoxdata@proton.me 处理」
  - 若可翻页:告诉用户「还有更多作品,是否需要翻看下一页?」,输入下一页翻页
  - 提示用户支持按时间范围提取作品

Step 5: 询问用户是否需要批量下载
  - 使用 AskUserQuestion:「是否需要将能下载的视频批量下载到本地?」
  - 选项:「下载到本地」/「只看链接即可」

Step 6: 用户确认后执行下载
  python3 "$SKILL_PATH/scripts/main.py" --platform <platform> --account "<id>" --download
  - 告知用户文件保存路径

Agent 输出规范

解析完成后按以下格式输出(自然语言风格,面向普通用户)。

⛔ 强制规则:禁止简化输出

Agent 必须原样展示脚本返回的完整表格,禁止以下行为:

  • ❌ 禁止删除或合并任何列(发布时间、作品、赞、评论、收藏、分享、资源下载 缺一不可)
  • ❌ 禁止省略翻页提示行
  • ❌ 禁止省略时间范围筛选提示("💡 支持输入想提取的作品时间范围…")
  • ❌ 禁止省略下载询问提示("💾 需要将这 X 条作品批量下载到本地吗?")
  • ❌ 禁止用「...」或摘要代替完整表格内容
  • ✅ 必须逐行展示所有作品的完整信息(含资源下载链接)
输出模板
markdown
## 📥 {平台}视频下载 — @账号名(粉丝: X)

当前是**第 1 页**,共 10 条作品 | 还有更多作品,输入 `--page 2` 翻看下一页

| #   | 发布时间 | 作品              | 赞   | 评论 | 收藏 | 分享 | 资源下载                                      |
| --- | -------- | ----------------- | ---- | ---- | ---- | ---- | --------------------------------------------- |
| 1   | 07-28    | [作品标题](链接)  | 5.2k | 67   | 689  | 5.8k | [🎬视频](...) · [🖼封面](...) · [🎵音频](...) |
| 2   | 07-24    | [作品标题2](链接) | 3.1k | 22   | 136  | 865  | [🖼封面](...)                                 |
| 3   | …        | …                 | …    | …    | …    | …    | …                                             |

**合计:** 10 条作品,8 条可下载,2 条下载失败

> ⚠️ 下载失败的视频可能是用户已删除该视频,如需数据核查可联系工作人员邮箱 **redfoxdata@proton.me** 处理。

> 💡 需要提取特定时间范围的作品?直接告诉我时间范围即可,如「7.1~7.20」「最近一周」

> 💾 需要将这 X 条作品批量下载到本地吗?直接告诉我即可。

平台名称会根据实际平台自动替换(快手 / B站 / YouTube)。


常见问题

Q:如何获取 API Key? A:前往 redfox.hk 注册获取。

Q:下载的视频有水印吗? A:无水印。API 返回的视频/图文直链已去除平台水印。

Q:图文作品能下载吗? A:可以。图文作品(幻灯片、相册类)会自动下载首张图片,格式为 JPG/PNG/WebP。

Q:为什么提示「调用频率超限」? A:API 返回 code=3108 时表示请求过快触发了限流。可增加 --rate-limit 2.0 延长间隔。

Q:支持哪些平台? A:抖音、快手、B站(哔哩哔哩)、YouTube 四大平台。

Q:各平台账号标识从哪里获取? A:抖音需要抖音号(如 JCLjiangchenglan),快手需要账号 ID / kwaiId(账号名称下方),B站需要主页链接,YouTube 需要频道 URL。

Bundled files

The model reads these on demand while the skill is loaded. They are exposed as readable files and are never executed.

Frequently asked questions

What does the Account Video Downloader AI skill do?

多平台账号主页视频提取器 — 输入平台名称和账号id/链接,自动拉取抖音/快手/B站/YouTube 四大平台主页作品,解析下载链接,支持批量下载。适用场景:竞品账号内容拆解与逐帧学习、收藏喜欢的创作者全部作品避免被删、批量搬运素材二次剪辑创作、保存自己账号作品做本地备份防丢失、课程/教程类视频离线囤货反复看、达人合作前快速拉取对方作品做背调分析。触发词:主页视频下载、批量下载视频、账号视频提取、快手主页下载、B站视频提取、YouTube频道下载、视频保存、无水印下载、竞品视频下载、博主视频备份。

Why use Account Video Downloader on TypingMind?

Because you install it once and use it with any model. Account Video Downloader is plain Markdown rather than provider-specific code, so the same skill runs on GPT-5, Claude, Gemini, Grok, or a local model — and you can switch model mid-chat without it breaking. TypingMind runs on your own API keys, so you pay providers directly instead of a per-seat subscription, and your skills and chats stay in your own storage.

How do I install Account Video Downloader in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/redfox-data/redfox-community/tree/main/skills/account-video-downloader. TypingMind reads its SKILL.md and bundles its files and installs it as a skill you can enable per chat.

Which AI models can use Account Video Downloader?

Any model you connect in TypingMind. AI skills are plain Markdown instructions rather than provider-specific code, so GPT, Claude, Gemini, Grok, and local models can all load this skill when a request matches it.

How many AI models can I use with Account Video Downloader?

As many as you like. As long as a model supports skills, you can use Account Video Downloader with it — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama and more — all on TypingMind with your own API keys.

Is the Account Video Downloader AI skill free?

It is published on GitHub by redfox-data. Check the repository for licensing terms. You only pay your own AI provider for the tokens you use.

What are AI skills?

An AI skill is a reusable instruction bundle that teaches an AI model how to do one specific task. It follows the open Agent Skills format: a SKILL.md file with a name and description, plus any scripts, templates or reference files the model may need. The model reads the instructions only when your request matches the skill, so an installed skill costs nothing until it is used.

How are AI skills different from plugins or MCP servers?

A plugin or MCP server gives a model new tools to call — code that runs somewhere and returns a result. An AI skill gives the model knowledge and process instead: how to approach a task, which steps to follow, what good output looks like. Skills are plain Markdown, so they need no server, no API key and no runtime, and they work with any model.

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇