dsh-scrapling

把 Scrapling Python 库包成最多十九个模型工具,按探测到的能力注册:为纯 JavaScript 页面上真实浏览器渲染、用 CSS/XPath 取出结构化数据而不是 Markdown、选择器自愈、可复用且带 XHR 抓取与网络历史的登录态会话、页面读取、截图、下载、受部署门禁的浏览器动作、基于页面内容的回答工具,以及在官方作业后端上跑的限定域爬虫(content / sitemap / feed / Shopify 四种模式)。它能顶替内置的 web_fetch / web_search,把同一份工具表通过 MCP 端出,并对每个外发 URL 做公网地址校验。需要 Python 3.14+ 且装好 Scrapling;浏览器工具还需要 patchright 的 Chromium 引擎,可选的 CLI 只在 macOS arm64 上装得起来。

插件介绍

把 Scrapling Python 库包成最多十九个模型工具,按探测到的能力注册:为纯 JavaScript 页面上真实浏览器渲染、用 CSS/XPath 取出结构化数据而不是 Markdown、选择器自愈、可复用且带 XHR 抓取与网络历史的登录态会话、页面读取、截图、下载、受部署门禁的浏览器动作、基于页面内容的回答工具,以及在官方作业后端上跑的限定域爬虫(content / sitemap / feed / Shopify 四种模式)。它能顶替内置的 web_fetch / web_search,把同一份工具表通过 MCP 端出,并对每个外发 URL 做公网地址校验。需要 Python 3.14+ 且装好 Scrapling;浏览器工具还需要 patchright 的 Chromium 引擎,可选的 CLI 只在 macOS arm64 上装得起来。

安装方式

通过 npm 安装

dsh plugin --profile web add @jayyuen66/dsh-scrapling

Resolves a published tarball rather than cloning the repository, and installs without any extra setup. Swap `web` for your profile name if you run another one.

从 GitHub 安装

dsh plugin --profile web add github:JayYuen666/dsh-scrapling

Installing from GitHub runs the project's build script, which pnpm blocks until you allowlist it — run the command once and pnpm prints the exact key to add under `allowBuilds` in ~/.dsh/profiles/web/pnpm-workspace.yaml.

版本兼容情况

兼容性待确认。可前往项目文档查看支持版本。

安装提示

  • 可能调用终端命令
  • 可能需要提供凭据