douyin-video-search
できること
キーワードでDouyinの動画を検索し、各動画の構造化されたデータを返します。中国のショート動画のコンテンツを調べるマーケターや研究者向けです。
使う場面
- ✓あるテーマのDouyinの動画を見つけたいとき。
- ✓キーワードの動画の反応の数が必要なとき。
- ✓関連性、いいね、新しさの順で、Douyinの動画を並べたいとき。
スキルのリンク
https://github.com/browser-act/skills/blob/main/solutions/video-platforms/douyin-video-search/SKILL.mdコピーしてAI(Claude、ChatGPT、Cursor)に貼り付け、指示に従うよう頼んでください。
使い方
いちばん簡単な方法:メッセージをコピーしてAIに貼り付けるだけ。AIがスキルを読んで指示に従います。
貼り付け用メッセージ
Claude Code、Codex、Cursorの場合:プロジェクトのフォルダで実行するとスキルがインストールされます。
SKILL.mdをダウンロードして、エージェントのスキル用フォルダに入れてください。
AIへの頼み方の例
“成都の屋台料理に関する過去1か月のDouyinの動画を、いいね順に並べて、投稿者とハッシュタグとともに見つけてください。”
毎週5つの新しいスキル。1分で読めます。
仕組み
スキルは、ログインしているブラウザーで、キーワードのDouyin検索を開きます。並び順と期間の絞り込みを適用し、各動画を投稿者の情報、指標、カバー、説明、ハッシュタグ、ダウンロードのリンクとともに返します。
技術的な内容(元のSKILL.md)
作者による元のテキスト(英語)をGitHubからそのまま表示しています。
Douyin — Video Search
Keyword → paginated list of videos with author, stats, cover, description, hashtags, download URL
Language
All process output to user (progress updates, process notifications) follows the user's language.
Objective
Fetch Douyin video search results for a given keyword, with optional sort order and date filters, returning complete structured data for each video.
Prerequisites
- Browser is open and navigated to any Douyin page (douyin.com) with an active logged-in session
- User is logged in to Douyin (avatar visible in top-right corner)
Pre-execution Checks
1. Tool Readiness
If browser-act has been confirmed available in the current session → skip this step.
Invoke browser-act via Skill tool to load usage. If installation or configuration issues arise, follow its guidance to resolve then retry.
2. Login Verification
If login status for Douyin has been confirmed in the current session → skip this step.
Otherwise: navigate to https://www.douyin.com and check the top-right corner:
- User avatar or account name visible → logged in, continue
- "登录" button visible → not logged in; inform the user and assist them in completing login via
remote-assist
User refuses or cannot log in → terminate execution.
Capability Components
This Skill's operational boundary = what the user can manually do in their browser. It only reads data already visible to the logged-in user, never bypassing authentication or access controls. JS code is in
scripts/and invoked viaeval "$(python scripts/xxx.py {params})". Use the bash tool for execution.
API: Search videos by keyword
Navigate to the Douyin search page first to establish cookie context, then call the search API directly.
Step 1 — Navigate to search page:
navigate https://www.douyin.com/search/{keyword}?type=video
wait stable
Replace {keyword} with the URL-encoded search term (e.g., AI%E5%88%9B%E4%B8%9A).
Step 2 — Fetch search results:
eval "$(python scripts/search-videos.py '{keyword}' --offset {offset} --count 20 --sort-type {sort_type} --publish-time {publish_time} --search-id '{search_id}')"
Parameters:
keyword: search term (plain text, script handles URL encoding)--offset: pagination offset; start at0, then usenext_offsetfrom previous response (default:0)--count: results per page (default:20, max:20)--sort-type: sort order —0=综合排序/comprehensive (default),1=最多点赞/most liked,2=最新发布/latest--publish-time: date filter in days —0=不限/all time (default),1=一天内/1 day,7=一周内/7 days,180=六个月内/6 months,365=一年内/1 year--search-id: leave empty for first page; usenext_search_idfrom previous response for page 2+
Output example:
{
"items": [
{
"aweme_id": "7656392146064639419",
"title": "深度还原7姐妹创业 #ai #搞笑视频 #热门",
"author_name": "楠楠AI小剧场",
"author_profile_url": "https://www.douyin.com/user/MS4wLjABAAAAY4eph...",
"video_url": "https://www.douyin.com/video/7656392146064639419",
"cover_url": "https://p3-pc-sign.douyinpic.com/image-cut-tos-priv/...",
"description": "深度还原7姐妹创业 #ai #搞笑视频 #热门 #逆天 #宝妈创业",
"hashtags": ["#ai", "#搞笑视频", "#热门", "#逆天", "#宝妈创业"],
"download_url": "https://www.douyin.com/aweme/v1/play/?video_id=v2700f...",
"digg_count": 188184,
"comment_count": 3346,
"publish_time": 1782642711
}
],
"count": 20,
"has_more": 1,
"next_offset": 20,
"next_search_id": "20260709115250C6DC5EE42A6DC2D6B48D"
}
Error handling:
status_code: 2483→ session cookie is invalid or expired; re-verify login and retry navigation step before calling againerror: truein output → checkmessagefield; most common cause is session expiry, retry after navigating tohttps://www.douyin.comonce- If
countin response is 0 withhas_more: 0→ no more results, pagination complete
Enum Parameters
[AI] sort_type — UI filter panel options (read from 筛选 dropdown):
0: 综合排序 (comprehensive, default)1: 最多点赞 (most liked)2: 最新发布 (latest/newest)
[AI] publish_time — UI filter panel options (read from 筛选 dropdown):
0: 不限 (all time, default)1: 一天内 (within 1 day)7: 一周内 (within 7 days)180: 六个月内 (within 6 months)365: 一年内 (within 1 year)
Pagination
API Pagination: parameter offset, type: page-number-style increment. Start value: 0. Next page: use next_offset from response. Als
よくある質問
Douyinにログインしている必要がありますか?
はい。スキルは、ログイン済みのDouyinのセッションを確認します。
どの並び順を選べますか?
関連性、いいね、新しさで並べられます。
投稿日で絞り込めますか?
はい。説明では、日付の範囲の絞り込みに対応しているとされています。
詳細
作者による元の説明
Searches Douyin (douyin.com) for videos by keyword and returns structured video data including author info, stats, cover, description, hashtags, and download URL. Supports date range filtering and sorting by relevance, likes, or recency. Use when user mentions Douyin search, scrape Douyin videos, collect TikTok China videos, extract douyin video data, grab douyin results, fetch douyin keyword videos, douyin video list, douyin content mining, search douyin by keyword, douyin likes filter, douyin date filter, douyin video download links, douyin creator info, douyin hashtag extraction, douyin vid
repo: browser-act/skills
人気
- GitHubのスター
- 6.3k
- ランキング
- #14329
- ライセンス
- MIT
- 更新日
- 2026/8/24
コメント
- …
このリポジトリの他のスキル
browser-act-skill-forge
6.3k一度サイトを調べて、スクリプト付きの再利用できるスキルを保存するのを支援します。そのサイトからのデータ取得が次回から速くなります。
browser-act
6.3kブラウザー自動化ツールで、ページを開いて内容を読んだり、フォーム入力、スクリーンショット、ログイン状態の維持を行えるよう支援します。
1688-product-detail
6.3k1688.comの卸売ページから、価格帯、バリエーション、販売者の評価、属性などの商品詳細を取得するのを支援します。
airbnb-listing-detail
6.3kAirbnbの掲載IDから、写真、設備、評価、宿泊ルールなど、公開されている詳細情報を取得するのを支援します。
似ているスキル
xurl
394k認証済みのxurlツールを使い、Xに投稿、返信、検索、閲覧し、ダイレクトメッセージを送り、メディアをアップロードするようエージェントを支援します。
connections-optimizer
280kソーシャルネットワークのつながりを改善します。フォローやフォロー解除の候補を提案し、パーソナライズされたメッセージの作成を支援して、ネットワークを広げます。
content-engine
280kさまざまなプラットフォーム向けのコンテンツを作成します。X、LinkedIn、YouTubeなどのネットワークで効果的な投稿、台本、コンテンツカレンダーの作成を支援します。