npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

@luka-cat-mimi/n8n-nodes-browserless

v1.2.2

Published

n8n 社区节点:集成 Browserless 平台,支持网页抓取、截图、PDF生成、自动化浏览器操作

Downloads

36

Readme

@luka-cat-mimi/n8n-nodes-browserless

n8n 社区节点:集成 Browserless 平台,在 n8n 工作流中实现网页抓取、截图、PDF 生成、自动化浏览器操作等功能。

基于 minhlucvan/n8n-nodes-browserless 进行二次开发,感谢原作者 Minh Luc 的贡献。

功能特性

  • 支持 Browserless API V2
  • 网页内容抓取(Content)
  • 页面截图(Screenshot)
  • PDF 生成(PDF)
  • 结构化数据抓取(Scrape)
  • 自定义脚本执行(Execute)
  • 文件下载(Download)
  • 性能分析(Performance)
  • 反封锁访问(Unblock)
  • 支持反机器人检测(Stealth + Headful 模式)
  • 可作为 AI Agent 工具使用(usableAsTool: true

相比原版的优化

| 优化项 | 原版 | 本版 | |--------|------|------| | PDF 输出 | 固定返回 binary,无法控制输出选项 | 支持 Output Options 配置(文件名、MIME 类型等),提升下游节点兼容性 | | Download 输出 | 固定返回 binary,无法控制输出选项 | 支持 Output Options 配置,可自定义输出行为 | | PDF/Download 性能 | 响应体处理未优化,大文件场景下内存占用高 | 优化二进制数据处理流程,降低内存开销 | | Code 节点 | 代码输入为纯文本框,无语法区分 | 支持代码高亮语法(JavaScript),提升可读性与编写体验 |

安装

通过 n8n 社区节点安装

  1. 打开 n8n 实例 → SettingsCommunity Nodes
  2. 搜索并安装 @luka-cat-mimi/n8n-nodes-browserless

手动安装

cd ~/.n8n/nodes
npm install @luka-cat-mimi/n8n-nodes-browserless

前置要求:部署 Browserless

docker run \
  --rm \
  -p 3000:3000 \
  -e "CONCURRENT=10" \
  -e "TOKEN=YOUR_SECURE_TOKEN" \
  ghcr.io/browserless/chromium

更多部署方式参考 Browserless Docker 快速开始

凭证配置

节点需要配置以下凭证:

| 字段 | 说明 | |------|------| | Browserless URL | Browserless 实例地址,如 http://localhost:3000 | | Token | 访问令牌 |

支持的操作

| 操作 | 说明 | API 文档 | |------|------|----------| | Content | 获取页面渲染后的 HTML 内容 | 文档 | | Screenshot | 对页面进行截图 | 文档 | | PDF | 将页面导出为 PDF 文件 | 文档 | | Scrape | 以结构化 JSON 抓取页面数据 | 文档 | | Execute | 执行自定义 JavaScript 函数 | 文档 | | Download | 下载页面触发的文件 | 文档 | | Performance | 获取页面性能指标 | 文档 | | Unblock | 反封锁模式访问页面 | 文档 |

反机器人检测

通过以下配置实现反检测:

  • Browser OptionsStealth: 开启
  • Browser OptionsHeadless: 关闭

开发

# 安装依赖
npm install

# 开发模式(监听文件变更)
npm run dev

# 构建
npm run build

# 代码检查
npm run lint

# 运行测试
npm test

兼容性

  • Node.js >= 22.x
  • n8n >= 1.0.0
  • Browserless API V2

相关链接

版本历史

Fork 后的版本

  • 1.2.0 — Fork 自 minhlucvan/n8n-nodes-browserless,更新包名为 @luka-cat-mimi/n8n-nodes-browserless
    • PDF / Download 性能优化,支持 Output Options 输出配置
    • Code 输入支持高亮语法
    • 优化项目配置与 CI/CD

原始版本(minhlucvan)

  • 1.0.0 — 支持 Browserless API V2
  • 0.5.0 — 反机器人检测
  • 0.4.0 — 浏览器选项,默认 no-cache 请求头
  • 0.3.0 — 修复 #1,添加测试
  • 0.2.0 — 修复常见问题
  • 0.0.1 — 初始发布

许可证

MIT