Back to skills
extension
Category: Data & AnalyticsNo API key required

Puppeteer 爬虫框架

使用 Puppeteer 和 stealth 插件进行 Headless Chrome 爬虫,通过 page.setRequestInterception() 进行请求拦截,以及自动检测 CAPTCHA。支持 CDP 会话以进行高级协议访问。

personAuthor: user_3c6cb52ehubcommunity

Puppeteer 爬虫框架

Headless Chrome scraping using Puppeteer with stealth plugin, request interception via page.setRequestInterception(), and automatic CAPTCHA detection. Supports CDP sessions for advanced protocol access.

Installation

Use the upstream install or setup path that matches your environment:

  • npm i puppeteer # Downloads compatible Chrome during installation.
  • npm i puppeteer-core # Alternatively, install as a library, without downloading Chrome.

Basic usage or getting-started notes:

  • bash npm2yarn

  • MCP

  • a Puppeteer-based MCP server for browser automation and debugging.

  • Source: https://github.com/1991513ccie-png/skills

  • Extracted from upstream docs: https://raw.githubusercontent.com/puppeteer/puppeteer/HEAD/README.md

Documentation

  • https://pptr.dev/