PuppeteerExtraSharp 2.0.0
dotnet add package PuppeteerExtraSharp --version 2.0.0
NuGet\Install-Package PuppeteerExtraSharp -Version 2.0.0
<PackageReference Include="PuppeteerExtraSharp" Version="2.0.0" />
paket add PuppeteerExtraSharp --version 2.0.0
#r "nuget: PuppeteerExtraSharp, 2.0.0"
// 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
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
- Applies various evasion techniques to make detection of headless puppeteer harder.
📃 Puppeteer anonymize UA plugin
- Anonymizes the user-agent on all pages.
- 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 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. |
-
.NETStandard 2.0
- PuppeteerSharp (>= 9.0.2)
- RestSharp (>= 108.0.3)
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.
|
Added support for PuppeteerExtraSharp 9.0.2