douyin-video-search
Skill này làm gì
Skill tìm video Douyin theo từ khóa và trả về dữ liệu có cấu trúc cho từng video. Skill dành cho người làm marketing và nhà nghiên cứu muốn tìm hiểu nội dung video ngắn ở Trung Quốc.
Khi nào nên dùng
- ✓Khi bạn muốn tìm video Douyin về một chủ đề.
- ✓Khi bạn cần số lượt thích và các số liệu khác của video theo một từ khóa.
- ✓Khi bạn muốn sắp xếp video Douyin theo mức độ liên quan, lượt thích hoặc thời gian mới nhất.
Liên kết skill
https://github.com/browser-act/skills/blob/main/solutions/video-platforms/douyin-video-search/SKILL.mdSao chép rồi dán vào AI của bạn (Claude, ChatGPT hoặc Cursor) và nhờ nó làm theo hướng dẫn.
Cách dùng
Cách dễ nhất: sao chép tin nhắn và dán vào AI của bạn. AI sẽ đọc skill và làm theo hướng dẫn.
Tin nhắn có sẵn để dán
Dành cho Claude Code, Codex hoặc Cursor: chạy lệnh trong thư mục dự án của bạn và skill sẽ được cài đặt.
Tải tệp SKILL.md về và thả vào thư mục skill của agent.
Ví dụ cách nhờ AI
“Tìm video Douyin về ẩm thực đường phố ở Thành Đô trong tháng trước, sắp xếp theo lượt thích, kèm tác giả và hashtag.”
5 skill mới mỗi tuần. Đọc chỉ 1 phút.
Cách hoạt động
Skill mở trang tìm kiếm Douyin cho từ khóa của bạn trong trình duyệt đã đăng nhập. Skill áp dụng bộ lọc sắp xếp và ngày bạn chọn, rồi trả về từng video kèm thông tin tác giả, số liệu, ảnh bìa, mô tả, hashtag và liên kết tải xuống.
Nội dung kỹ thuật (SKILL.md gốc)
Lấy nguyên văn từ GitHub, do tác giả viết bằng tiếng Anh.
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
Câu hỏi thường gặp
Bạn có cần đăng nhập Douyin không?
Có. Skill kiểm tra phiên Douyin đã đăng nhập.
Có những cách sắp xếp nào?
Bạn có thể sắp xếp theo mức độ liên quan, lượt thích hoặc thời gian mới nhất.
Bạn có thể lọc theo ngày không?
Có. Mô tả cho biết hỗ trợ lọc theo khoảng thời gian.
Chi tiết
Mô tả gốc của tác giả
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
Độ phổ biến
- Sao GitHub
- 6.3k
- Vị trí xếp hạng
- #14329
- Giấy phép
- MIT
- Cập nhật
- 24/8/2026
Bình luận
- …
Thêm skill từ kho mã này
browser-act-skill-forge
6.3kGiúp agent của bạn khám phá một website một lần rồi lưu thành một skill tái sử dụng với các script, để lấy dữ liệu từ site đó sau này nhanh hơn.
browser-act
6.3kGiúp agent của bạn chạy công cụ tự động hóa trình duyệt để mở trang, đọc nội dung đã render, điền biểu mẫu, chụp ảnh màn hình và quản lý phiên đã đăng nhập.
1688-product-detail
6.3kGiúp agent của bạn lấy chi tiết sản phẩm từ một trang bán buôn 1688.com, như bậc giá, biến thể, thống kê người bán và thuộc tính.
airbnb-listing-detail
6.3kGiúp agent của bạn lấy chi tiết công khai của một tin đăng Airbnb theo ID, như ảnh, tiện nghi, đánh giá và nội quy nhà.
Skill tương tự
xurl
394kGiúp agent của bạn đăng, trả lời, tìm kiếm và đọc trên X, gửi tin nhắn riêng và tải lên phương tiện, bằng công cụ xurl đã xác thực.
connections-optimizer
280kCải thiện các kết nối trên mạng xã hội của bạn. Gợi ý ai nên theo dõi hoặc bỏ theo dõi và giúp soạn tin nhắn cá nhân hóa để mở rộng mạng lưới.
content-engine
280kTạo nội dung cho nhiều nền tảng khác nhau. Giúp soạn bài đăng, kịch bản và lịch nội dung phù hợp với các mạng như X, LinkedIn và YouTube.