shaokunli

Douyin DL

資料分析v1.0.0
作者:shaokunli更新於 2026-05-18douyin-dl@clawhub_lskun/douyin-dl
網頁抓取#Browser

據 AlphaMoat 統計,截至 2026-09,Douyin DL 累計下載 1,699 次、獲 0 個星標,在全部 5,078 個 AI 技能中排名第 4,642 位,在「資料分析」分類(399 個)中排名第 361 位。

累計安裝
110
累計下載
1699
星標
-
全站排名
#4,642
全站前 92% · 「資料分析」前 91%
平台累計安裝累計下載星標評論
ClawHub ↗381373--
SkillHub ↗1101699-—

各平台的計數口徑不同,統計時間不一致。

這個技能是做什麼的

接收影片頁、搜尋結果、分享短鏈或筆記連結;透過無頭瀏覽器開啟頁面並提取媒體源,再用 curl 下載。文件稱無需登入,但媒體連結可能臨時有效,提取後應儘快儲存。

資料釋出於 2026-10-29

可以用來做什麼

  • 下載抖音影片連結中的媒體
  • 處理搜尋頁、分享或筆記連結

什麼時候用

  • 需要把頁面上的抖音影片儲存到本地時
  • 已安裝 agent-browser 和 curl 時

示例提示詞

以下是根據技能文件生成的示例,不代表實際執行結果。

下載這個抖音分享連結中的影片並儲存到指定目錄
從這個搜尋連結提取並下載對應影片

月度資料趨勢

累計下載1699
397109617952026-03 · 累計下載 4932026-05 · 累計下載 9142026-07 · 累計下載 12502026-08 · 累計下載 13622026-09 · 累計下載 169926-0326-09
星標-
0112026-03 · 星標 -2026-05 · 星標 -2026-07 · 星標 -2026-08 · 星標 -2026-09 · 星標 -26-0326-09

2026-09 起統計方法調整:同名技能按作者分別統計,並覆蓋全部技能。圖中虛線為調整前的月份,與之後的資料不直接比較,也不計算跨越調整的增長。

月份累計下載環比星標
2026-091699—-
2026-081362+9.0%-
2026-071250—-
2026-05914—-
2026-03493—-

SKILL.md 原文

以下是作者釋出的原始檔案,按純文字顯示,本站未做修改或稽核;其中的連結不可點選,命令請核實後再執行。抓取於 2026-10-23。

2.0 KB · ClawHub v1.0.0
---
name: douyin-downloader
description: Download Douyin (抖音) short videos from URLs. Supports direct video links, search page links with modal_id, share links (v.douyin.com), and note links. Uses headless browser to bypass anti-scraping and extract video source. Use when asked to "download douyin video", "下载抖音视频", "save douyin clip", or given any douyin.com URL to download.
---

# Douyin Video Downloader

Downloads Douyin videos by opening the page in a headless browser, extracting the `<video>` source URL, and downloading via curl. This bypasses yt-dlp's cookie issues with Douyin's anti-scraping.

## Prerequisites
展開全部(共 56 行)

- `agent-browser` (`npm i -g agent-browser`)
- `curl`

## Usage

```bash
python3 scripts/douyin_download.py <URL> [--output-dir DIR] [--filename NAME]
```

## Supported URL Formats

- `https://www.douyin.com/video/<id>` — direct video page
- `https://www.douyin.com/search/...?modal_id=<id>` — search results with video modal
- `https://v.douyin.com/<code>` — share short links
- `https://www.douyin.com/note/<id>` — note/image posts with video

## Examples

```bash
# Basic download to ~/Downloads
python3 scripts/douyin_download.py 'https://www.douyin.com/video/7577715519366576522'

# Custom output directory and filename
python3 scripts/douyin_download.py 'https://www.douyin.com/video/7577715519366576522' \
  -o ~/Videos -f my_video

# From search page URL
python3 scripts/douyin_download.py 'https://www.douyin.com/search/关键词?modal_id=7577715519366576522'
```

## How It Works

1. Normalize URL → extract video ID, construct direct video page URL
2. Open page in `agent-browser` (headless Chromium)
3. Extract `<video>` element's `currentSrc` (CDN direct link)
4. Close browser
5. Download MP4 via `curl` with proper Referer header

## Notes

- No login required — fresh browser session is sufficient
- Video title auto-detected from page title for filename
- Large videos may take 30-60s to download depending on network
- CDN links are temporary (~2h validity); download promptly after extraction

「資料分析」分類下的熱門技能

資料月份:2026-09 · 下載/星標/安裝數聚合自公開技能註冊庫(ClawHub、SkillHub),按月更新。口徑說明見資料方法。