PuppeteerExtraSharp 1.0.3
See the version list below for details.
dotnet add package PuppeteerExtraSharp --version 1.0.3
NuGet\Install-Package PuppeteerExtraSharp -Version 1.0.3
<PackageReference Include="PuppeteerExtraSharp" Version="1.0.3" />
paket add PuppeteerExtraSharp --version 1.0.3
#r "nuget: PuppeteerExtraSharp, 1.0.3"
// Install PuppeteerExtraSharp as a Cake Addin #addin nuget:?package=PuppeteerExtraSharp&version=1.0.3 // Install PuppeteerExtraSharp as a Cake Tool #tool nuget:?package=PuppeteerExtraSharp&version=1.0.3
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
✋More plugins will be 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 | netcoreapp3.1 is compatible. |
-
.NETCoreApp 3.1
- PuppeteerSharp (>= 2.0.4)
- RestSharp (>= 106.11.5)
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.
|