PuppeteerSharp Web Scraping Pipeline
Builds headless Chrome scraping pipelines using PuppeteerSharp for .NET environments. Handles JavaScript-rendered SPAs, Cloudflare challenge bypass via stealth plugins, and exports structured data through Newtonsoft.Json serialization.
Prerequisites
.NET, Chromium
Installation
Requirements and caveats from upstream:
- Puppeteer Sharp is a .NET port of the official Node.JS Puppeteer API.
Basic usage or getting-started notes:
| PuppeteerSharp.AspNetFramework | The companion library you need to run PuppeteerSharp in ASP.NET Classic |
Puppeteer-Sharp comes in two flavors: a NetStandard 2.0 library for .NET Framework 4.6.1 and .NET Core 2.0 or greater and a .NET 8 version.
If you have issues running Chrome on Linux, the Puppeteer repo has a great troubleshooting guide.
Extracted from upstream docs: https://raw.githubusercontent.com/hardkoded/puppeteer-sharp/HEAD/README.md