小红书爆款视频一键采集
简介
自动化抓取小红书最新爆款视频,提取带token的完整URL,支持内容搬运至YouTube Shorts等平台,适合创作者快速获取中文区热门素材。
原始描述
Find fresh, viral Xiaohongshu videos by niche with filters for type, date, and popularity, and extract URLs with valid xsec_token for repurposing.
通过你的 Agent 添加
安装目录:xiaohongshu-video-finder/(目录名取自 SKILL.md 的 frontmatter name,不是 URL 里的 slug)。
点「快速安装」复制一段指令贴给你的 Agent:它会先下载到 /tmp、把文件清单和校验值给你看,你确认之后才解压安装。不会一步装完、也不改系统其它位置。
或者手动安装
包是「根级 SKILL.md + 作者附带的文件」,解压到上面的 <slug>/ 目录即可;
目录名不用换,也不要把包直接解压到 skills 根目录。
技能申请的权限由作者决定:装之前先看清单里有没有脚本、它会读写什么。
技能正文
xhs-video-finder
Find fresh, viral videos on Xiaohongshu (小红书 / RedNote) for repurposing to YouTube Shorts or other platforms. Uses browser automation to search, filter by type and publish date, and extract video URLs.
When to Use
- You need a fresh Xiaohongshu video to repurpose (e.g., for a YouTube Shorts cron)
- You want to find trending content by niche (food, travel, crafts, etc.)
- You need a URL with a valid
xsec_token for downstream tools (creator.octodance.com, etc.)
Step-by-Step Workflow
1. Open Xiaohongshu in the Managed Browser
browser action=open profile=openclaw url=https://www.xiaohongshu.com
xsec_token for downstream tools (creator.octodance.com, etc.)1. Open Xiaohongshu in the Managed Browser
browser action=open profile=openclaw url=https://www.xiaohongshu.com
Wait for the page to fully load.
2. Search for Content
Use the search bar with a niche keyword. Examples by channel:
- Chinese food:
中国美食家常菜街头小吃火锅 - Travel:
旅行旅游攻略小众景点城市打卡 - Crafting/DIY:
手工DIY手工制作手工教程 - Curiosities:
冷知识涨知识神奇你不知道的
Take a snapshot, find the search input, and type your keyword.
3. Apply Filters (Top-Right Corner)
After search results load, tap the filter icon (top-right — shows "已筛选" when active).
Set these options in the filter panel:
| Filter (Chinese) | Setting | Meaning |
|---|---|---|
| 排序依据 | 最新 | Sort: Newest first |
| 笔记类型 | 视频 | Type: Videos only |
| 发布时间 | 一周内 | Posted: Within 1 week |
| 搜索范围 | 不限 | Scope: All |
Tap 收起 to close the filter panel.
4. Browse Results & Pick a Video
Look for:
- ✅ 1,000+ likes (❤️ count shown under each card)
- ✅ Under 6 minutes (check duration indicator on the thumbnail)
- ✅ Clear, engaging visuals
- ✅ No heavy watermarks blocking the subject
- ❌ Skip static image posts (图文) — filter should exclude these already
Post timestamps are shown as relative time: 2小时前 = 2 hours ago, 1天前 = 1 day ago.
5. Open the Video & Get the URL
Click a video card to open it. Copy the full URL from the address bar:
https://www.xiaohongshu.com/explore/VIDEO_ID?xsec_token=ABxxxxxx&xsec_source=pc_search
⚠️ Always include the full URL with xsec_token — this token is required for video download tools. Tokens expire, so get a fresh URL each time.
6. Alternative: Use the Share Link
If you prefer a cleaner URL:
- Click the Share button (分享) inside the video — bottom right
- The share link is auto-copied to clipboard
- Format:
https://www.xiaohongshu.com/discovery/item/VIDEO_ID?source=webshare&xhsshare=...
Both formats work with creator.octodance.com / lazyai.octodance.com.
Troubleshooting
Problem
Fix
JSON parse error in creator tool
Token expired — get a fresh URL from Xiaohongshu
Filter not visible
Scroll up to the top of search results
No videos shown
Check filter — make sure 笔记类型 = 视频, not 图文
Video won't load
Try a different video; some have regional restrictions
Search results are empty
Try a broader keyword or remove time filter
Notes
- Xiaohongshu requires being logged in for some content — use the managed browser where you're already signed in
explore/ URLs and discovery/item/ URLs both work — use whichever the browser gives you
- The filter state persists across searches in the same session, so you only need to set it once
| Problem | Fix |
|---|---|
| JSON parse error in creator tool | Token expired — get a fresh URL from Xiaohongshu |
| Filter not visible | Scroll up to the top of search results |
| No videos shown | Check filter — make sure 笔记类型 = 视频, not 图文 |
| Video won't load | Try a different video; some have regional restrictions |
| Search results are empty | Try a broader keyword or remove time filter |
- Xiaohongshu requires being logged in for some content — use the managed browser where you're already signed in
explore/URLs anddiscovery/item/URLs both work — use whichever the browser gives you- The filter state persists across searches in the same session, so you only need to set it once
正文来自原始发布页, 版权归作者所有,许可未标注。 权利人认为有不妥,可申请下架。