Earl.Crawler.Events
0.0.0-alpha.0.74
See the version list below for details.
dotnet add package Earl.Crawler.Events --version 0.0.0-alpha.0.74
NuGet\Install-Package Earl.Crawler.Events -Version 0.0.0-alpha.0.74
<PackageReference Include="Earl.Crawler.Events" Version="0.0.0-alpha.0.74" />
paket add Earl.Crawler.Events --version 0.0.0-alpha.0.74
#r "nuget: Earl.Crawler.Events, 0.0.0-alpha.0.74"
// Install Earl.Crawler.Events as a Cake Addin #addin nuget:?package=Earl.Crawler.Events&version=0.0.0-alpha.0.74&prerelease // Install Earl.Crawler.Events as a Cake Tool #tool nuget:?package=Earl.Crawler.Events&version=0.0.0-alpha.0.74&prerelease
Earl Events
The "Earl Events Pattern" refers to the API that allows consumers of an IEarlCrawler
to process information about the executing of a crawl.
Out-of-the-box Earl provides a collection of events that can be found adjacent to the ICrawlerEvents
contract.
At the lowest level of the Crawler API, events can be handled by specifying an ICrawlerEvents
implementation for the CrawlerOptions.Events
provided to the IEarlCrawler
. However, more commonly used, is likely the On<TEvent>(this ICrawlerOptionsBuilder builder, CrawlerEventHandler<TEvent> handler)
extension method:
var options = CrawlerOptionsBuilder.CreateDefault()
.On<CrawlUrlResultEvent>(
async ( CrawlUrlResultEvent e, CancellationToken cancellation ) =>
{
// handle the event...
}
)
.Build();
await crawler.CrawlAsync( new Uri(...), options );
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net6.0 is compatible. 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. |
-
net6.0
- Earl.Crawler.Abstractions (>= 0.0.0-alpha.0.74)
- Earl.Crawler.Middleware.Abstractions (>= 0.0.0-alpha.0.74)
NuGet packages (3)
Showing the top 3 NuGet packages that depend on Earl.Crawler.Events:
Package | Downloads |
---|---|
Earl.Crawler.Persistence
Default implementation of Earl's "Persistence" pattern. |
|
Earl.Crawler.Middleware
Default implementation of Earl's Middleware pattern. |
|
Earl.Crawler
Earl is a suite of APIs for developing url crawlers & web scrapers driven by a middleware pattern similar to, and strongly influenced by, ASP.NET Core. |
GitHub repositories
This package is not used by any popular GitHub repositories.