← 返回 Skills 市场
weilixiong

小红书笔记批量下载

作者 weilixiong · GitHub ↗ · v2.1.0 · MIT-0
cross-platform ✓ 安全检测通过
72
总下载
0
收藏
0
当前安装
4
版本数
在 OpenClaw 中安装
/install xhs-download
功能描述
小红书笔记批量下载。通过已登录 Chrome 的 DevTools Protocol 自动化下载小红书笔记(图片+文字)到本地。
安全使用建议
This script is coherent with its stated goal but connects to your local Chrome debugging port and runs JavaScript inside the browser context — it therefore can access anything available in that browser session (including tokens and page data). Before running: (1) inspect the Python code yourself (or run it in a disposable profile) to ensure it only extracts content you expect; (2) avoid running while your primary browser profile (with other accounts) is exposed; (3) don't enable remote debugging on a machine/network you don't control; (4) confirm the download of content complies with Xiaohongshu's terms; and (5) run with least privilege (don't run as root). If you want stronger isolation, create a separate Chrome profile, sign into only the target account there, and enable remote debugging on that profile only.
功能分析
Type: OpenClaw Skill Name: xhs-download Version: 2.1.0 The skill bundle provides a Python script and instructions for batch downloading Xiaohongshu notes by interfacing with a local Chrome instance via the DevTools Protocol (CDP). The script in SKILL.md performs standard automation tasks such as page navigation, scrolling, and DOM extraction to save images and text locally. No evidence of data exfiltration, malicious command execution, or intentional prompt injection was found; the code is transparent and functions as described.
能力评估
Purpose & Capability
The skill says it will automate downloads from Xiaohongshu using Chrome DevTools Protocol and the SKILL.md instructs exactly that: connecting to localhost:9222, targeting a Chrome tab, evaluating DOM/JS and downloading images and text. Required inputs (profile_id, tab_id, save directory) and recommended Python packages are coherent with that purpose.
Instruction Scope
Instructions are focused on controlling a local Chrome tab via CDP, extracting DOM nodes and window.__INITIAL_STATE__, and downloading images/text. Accessing in-page JS state (xsecToken) is necessary for constructing detail URLs but is also capable of exposing other in-page/session data — the script as provided only uses it for tokens and content extraction.
Install Mechanism
This is instruction-only (no install spec). The README recommends pip installing websocket-client and requests, which is proportionate and typical for running the provided Python script. No external archive downloads or execution of fetched code are instructed.
Credentials
No environment variables or external credentials are requested. The script intentionally requires an already-logged-in Chrome instance with remote debugging enabled because it leverages the browser session; that access is proportional to the claimed functionality but has privacy implications (it can read data available to the browser).
Persistence & Privilege
The skill is not always-enabled and does not request persistent system privileges or modify other skills/config. It runs a one-off Python script against a user-specified Chrome debugging endpoint, which is appropriate for the task.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install xhs-download
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /xhs-download 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v2.1.0
重写为完整可运行脚本。替代旧版 xiaohongshu-搬运。新增:配置表、FAQ表格、自动去重、token预加载、完整4步教程。
v2.0.0
重写为完整可运行的单脚本版本。替代旧版 xiaohongshu-搬运 1.0.0。新增:accounts.json 模板、完整使用步骤、常见问题排查。
v1.1.0
分离发布版(变量)和本地版(实名),脚本改为模板
v1.0.0
从零构建完整版,替换旧版 xiaohongshu-搬运
元数据
Slug xhs-download
版本 2.1.0
许可证 MIT-0
累计安装 0
当前安装数 0
历史版本数 4
常见问题

小红书笔记批量下载 是什么?

小红书笔记批量下载。通过已登录 Chrome 的 DevTools Protocol 自动化下载小红书笔记(图片+文字)到本地。 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 72 次。

如何安装 小红书笔记批量下载?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install xhs-download」即可一键安装,无需额外配置。

小红书笔记批量下载 是免费的吗?

是的,小红书笔记批量下载 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。

小红书笔记批量下载 支持哪些平台?

小红书笔记批量下载 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 小红书笔记批量下载?

由 weilixiong(@weilixiong)开发并维护,当前版本 v2.1.0。

💬 留言讨论