深柒

douyin-downloader-js

Developmentv1.0.2
By 深柒Updated 2026-05-113 versions · latest released 2026-03-13@clawhub_xbos1314/douyin-downloader-js
Scripting#抖音

According to AlphaMoat, as of 2026-09, douyin-downloader-js has 1,488 downloads and 1 stars — ranked #4,777 of 5,078 AI skills overall, and #561 of 577 in Development.

Installs
181
Downloads
1.5K
Stars
1
Overall Rank
#4,777
Top 95% overall · Top 98% in Development
PlatformInstallsDownloadsStarsComments
ClawHub ↗291.1K1-
SkillHub ↗1811.5K1—

Platforms count differently and update at different times.

What this skill does

A Node.js script extracts content metadata from a Douyin page and can download video or image-post media to a local directory. Media URLs may expire, and some content may require login. Use trusted links, a dedicated output directory, and clean up temporary files.

Profile published 2026-10-27

What you can do with it

  • Inspect a Douyin video’s title, author, and media link
  • Download video or image-post media from a link
  • Review downloaded files in the output directory

When to use it

  • When retrieving media linked from Douyin
  • After confirming the link is trusted and the local storage location is appropriate

Example prompts

Generated from the skill’s documentation as examples; not results of actual runs.

Inspect this Douyin link’s media type and metadata, then explain which files would be downloaded and where they would be saved.

Monthly Trend

Downloads1.5K
4451.0K1.6K2026-03 · Downloads 5222026-05 · Downloads 7352026-06 · Downloads 8122026-07 · Downloads 1.0K2026-08 · Downloads 1.1K2026-09 · Downloads 1.5K26-0326-09
Stars1
0122026-03 · Stars 12026-05 · Stars 12026-06 · Stars 12026-07 · Stars 12026-08 · Stars 12026-09 · Stars 126-0326-09

The counting method changed in 2026-09: skills with the same name are now counted separately by author, and the full catalog is covered. Dashed lines show months before the change; they are not compared with later months, and no growth is computed across the change.

MonthDownloadsMoMStars
2026-091.5K—1
2026-081.1K+12.1%1
2026-071.0K+23.9%1
2026-06812+10.5%1
2026-05735—1
2026-03522—1

SKILL.md (original)

The author’s original file, shown as plain text without edits or review by AlphaMoat. Links are not clickable; check commands before running them. Fetched 2026-10-23.

2.3 KB · ClawHub v1.0.2
---
name: douyin-downloader-js
description: 使用 Node.js 从抖音网页解析视频信息并下载,支持视频和图文类型
---

# 抖音视频下载器 (Node.js 版本)

## 描述

使用 Node.js 从抖音网页的 `window._ROUTER_DATA` 中解析视频信息,支持:
Show all (89 lines)
- 视频类型:下载视频并去除水印
- 图文类型:下载图片(最多3张)

## 何时使用

在需要下载抖音链接的内容时使用此技能:
- 下载抖音链接的视频 (v.douyin.com/xxx)
- 下载抖音链接的图文
- 解析视频信息(标题、作者、统计数据等)

## 前置要求

- Node.js 环境

## 使用方法

### 解析并下载

```bash
node ~/.openclaw/skills/douyin-downloader-js/script/douyin-parse.cjs "抖音链接" [输出目录]
```

- 第一个参数:抖音链接(必填)
- 第二个参数:输出目录(可选,默认 ./output)

## 自动识别

脚本会自动识别内容类型:
- **视频类型**:返回 `videoUrl`,下载视频
- **图文类型**:返回 `images` 数组,下载图片

## 图文处理规则

- 图文数量 ≤ 3张:全部发送
- 图文数量 > 3张:只发送前3张,告知用户剩余数量
- 示例:共7张图片 → 发送前3张 → 提示"还有4张图片未发送"

## 返回格式

### 视频类型
```json
{
  "parseId": "视频ID",
  "title": "视频标题",
  "author": { "nickname": "作者昵称", "avatar": "头像URL" },
  "statistics": { "digg": 点赞数, "comment": 评论数, "share": 分享数 },
  "images": [],
  "cover": "封面URL",
  "videoUrl": "视频URL(去除水印)"
}
```

### 图文类型
```json
{
  "parseId": "图文ID",
  "title": "图文标题",
  "author": { "nickname": "作者昵称", "avatar": "头像URL" },
  "statistics": { "digg": 点赞数, "comment": 评论数, "share": 分享数 },
  "images": ["图片URL1", "图片URL2", ...],
  "cover": "封面URL",
  "videoUrl": ""
}
```

## 技术细节

- 使用移动端 User-Agent 模拟手机访问
- 从 `window._ROUTER_DATA` 中提取数据
- 自动去除视频水印(playwm → play)
- 短链接自动重定向到完整URL

## 注意事项

- 视频/图片 URL 是临时的,可能会过期
- 某些内容可能需要登录才能访问
- 下载完成后删除本地临时文件
- 下载的文件默认保存到你的工作空间

Popular in Development

Data month: 2026-09 · Downloads, stars and installs are aggregated monthly from public skill registries (ClawHub, SkillHub). See methodology.