PuppeteerExtraSharp 1.3.2

.NET Standard 2.0
dotnet add package PuppeteerExtraSharp --version 1.3.2
NuGet\Install-Package PuppeteerExtraSharp -Version 1.3.2
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="1.3.2" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add PuppeteerExtraSharp --version 1.3.2
#r "nuget: PuppeteerExtraSharp, 1.3.2"
#r directive can be used in F# Interactive, C# scripting and .NET Interactive. 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=1.3.2

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

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 Versions
.NET net5.0 net5.0-windows net6.0 net6.0-android net6.0-ios net6.0-maccatalyst net6.0-macos net6.0-tvos net6.0-windows
.NET Core netcoreapp2.0 netcoreapp2.1 netcoreapp2.2 netcoreapp3.0 netcoreapp3.1
.NET Standard netstandard2.0 netstandard2.1
.NET Framework net461 net462 net463 net47 net471 net472 net48
MonoAndroid monoandroid
MonoMac monomac
MonoTouch monotouch
Tizen tizen40 tizen60
Xamarin.iOS xamarinios
Xamarin.Mac xamarinmac
Xamarin.TVOS xamarintvos
Xamarin.WatchOS xamarinwatchos
Compatible target framework(s)
Additional computed target framework(s)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (3)

Showing the top 3 NuGet packages that depend on PuppeteerExtraSharp:

Package Downloads
Nextalys.Helpers

Package Description

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.

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.

GitHub repositories (3)

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

Repository Stars
openbullet/OpenBullet2
OpenBullet reinvented
KoalaBear84/OpenDirectoryDownloader
Indexes open directories
Decimation/SmartImage
Reverse image search tool (SauceNao, ImgOps, trace.moe, and more)
Version Downloads Last updated
1.3.2 12,939 12/19/2021
1.3.1 10,304 5/16/2021
1.3.0 723 4/14/2021
1.2.1 21,704 2/22/2021
1.2.0 2,459 1/3/2021
1.1.0 4,155 10/23/2020
1.0.3 691 10/9/2020
1.0.2 354 10/7/2020
1.0.0 342 9/27/2020