PuppeteerExtraSharp 2.0.0

dotnet add package PuppeteerExtraSharp --version 2.0.0                
NuGet\Install-Package PuppeteerExtraSharp -Version 2.0.0                
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="PuppeteerExtraSharp" Version="2.0.0" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add PuppeteerExtraSharp --version 2.0.0                
#r "nuget: PuppeteerExtraSharp, 2.0.0"                
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install PuppeteerExtraSharp as a Cake Addin
#addin nuget:?package=PuppeteerExtraSharp&version=2.0.0

// Install PuppeteerExtraSharp as a Cake Tool
#tool nuget:?package=PuppeteerExtraSharp&version=2.0.0                

PuppeteerExtraSharp

NuGet Badge

Puppeteer extra sharp is a .NET port of the Node.js library

Quickstart

// Initialization plugin builder
var extra = new PuppeteerExtra(); 

// Use stealth plugin
extra.Use(new StealthPlugin());   

// Launch the puppeteer browser with plugins
var browser = await extra.LaunchAsync(new LaunchOptions()
{
    Headless = false
});

// Create a new page
var page = await browser.NewPageAsync();

await page.GoToAsync("http://google.com");

// Wait 2 second
await page.WaitForTimeoutAsync(2000);

// Take the screenshot
await page.ScreenshotAsync("extra.png");

Plugin list

🏴 Puppeteer stealth plugin

  • Applies various evasion techniques to make detection of headless puppeteer harder.

📃 Puppeteer anonymize UA plugin

  • Anonymizes the user-agent on all pages.

💀Puppeteer recaptcha plugin

  • Solves recaptcha automatically

🔧Puppeteer block resources plugin

  • Blocks images, documents etc.

More plugins coming soon

API

Use(IPuppeteerExtraPlugin)

Adds a new plugin to plugins list and register it.

  • Returns the same instance of puppeteer extra
  • Parameters: instance of IPuppeteerExtraPlugin interface
var puppeteerExtra = new PuppeteerExtra().Use(new AnonymizeUaPlugin()).Use(new StealthPlugin());
LaunchAsync(LaunchOptions)
  • Return the new puppeteer browser instance with launch options
var browser = new PuppeteerExtra().LaunchAsync(new LaunchOptions());
ConnectAsync(ConnectOptions)
  • Connect to the exiting browser with connect options
var browser = new PuppeteerExtra().ConnectAsync(new ConnectOptions());
GetPlugin<T>()
  • Get plugin from plugin list by type
var stealthPlugin = puppeteerExtra.GetPlugin<StealthPlugin>();
Product Compatible and additional computed target framework versions.
.NET net5.0 was computed.  net5.0-windows was computed.  net6.0 was computed.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 was computed.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 was computed.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed. 
.NET Core netcoreapp2.0 was computed.  netcoreapp2.1 was computed.  netcoreapp2.2 was computed.  netcoreapp3.0 was computed.  netcoreapp3.1 was computed. 
.NET Standard netstandard2.0 is compatible.  netstandard2.1 was computed. 
.NET Framework net461 was computed.  net462 was computed.  net463 was computed.  net47 was computed.  net471 was computed.  net472 was computed.  net48 was computed.  net481 was computed. 
MonoAndroid monoandroid was computed. 
MonoMac monomac was computed. 
MonoTouch monotouch was computed. 
Tizen tizen40 was computed.  tizen60 was computed. 
Xamarin.iOS xamarinios was computed. 
Xamarin.Mac xamarinmac was computed. 
Xamarin.TVOS xamarintvos was computed. 
Xamarin.WatchOS xamarinwatchos was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (6)

Showing the top 5 NuGet packages that depend on PuppeteerExtraSharp:

Package Downloads
WebReaper

Declarative high performance web scraper in C#. Easily crawl any web site and parse the data, save structed result to a file, DB, etc.

UltimoScraper

WebScraper built in c# and allows for plug and play modifications.

KickLib

C# library for accessing API from Kick.com livestreaming platform.

Exoscan

Declarative high performance web scraper in C#. Easily crawl any web site and parse the data, save structed result to a file, DB, etc.

ExoScraper

Declarative high performance web scraper in C#. Easily crawl any web site and parse the data, save structed result to a file, DB, etc.

GitHub repositories (5)

Showing the top 5 popular GitHub repositories that depend on PuppeteerExtraSharp:

Repository Stars
openbullet/OpenBullet2
OpenBullet reinvented
KoalaBear84/OpenDirectoryDownloader
Indexes open directories
ic3w0lf22/Roblox-Account-Manager
Application that allows you to add multiple accounts into one application allowing you to easily play on alt accounts without having to change accounts
drizzle-mizzle/CharacterAI-Discord-Bot
CharacterAI for your Discord server
pavlovtech/WebReaper
Web scraper, crawler and parser in C#. Designed as simple, declarative and scalable web scraping solution.
Version Downloads Last updated
2.0.0 86,433 3/16/2023
1.3.2 51,103 12/19/2021
1.3.1 22,645 5/16/2021
1.3.0 1,130 4/14/2021
1.2.1 39,084 2/22/2021
1.2.0 2,768 1/3/2021
1.1.0 10,905 10/23/2020
1.0.3 897 10/9/2020
1.0.2 533 10/7/2020
1.0.0 591 9/27/2020

Added support for PuppeteerExtraSharp 9.0.2