返回 Skill 列表
extension
分类: 数据与分析无需 API Key

Puppeteer 网页抓取器

通过 Puppeteer 进行无头 Chrome 爬虫,具备自动 Cookie 处理、JavaScript 渲染和基于 Cheerio 的 DOM 提取功能。可处理无限滚动和懒加载内容。

person作者: user_3c6cb52ehubcommunity

Puppeteer 网页抓取器

Headless Chrome scraping via Puppeteer with automatic cookie handling, JavaScript rendering, and Cheerio-based DOM extraction. Handles infinite scroll and lazy-loaded content.

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/