RvdB.Scrapionize 1.6.0

dotnet add package RvdB.Scrapionize --version 1.6.0                
NuGet\Install-Package RvdB.Scrapionize -Version 1.6.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="RvdB.Scrapionize" Version="1.6.0" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add RvdB.Scrapionize --version 1.6.0                
#r "nuget: RvdB.Scrapionize, 1.6.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 RvdB.Scrapionize as a Cake Addin
#addin nuget:?package=RvdB.Scrapionize&version=1.6.0

// Install RvdB.Scrapionize as a Cake Tool
#tool nuget:?package=RvdB.Scrapionize&version=1.6.0                

Build & Publish

Scrapionize

Scrapionize (a Scraper for Sessionize) is a NuGet package to scrape a Sessionize CFP page and give you the basic information that's on the CFP page. The information we'll get from the page:

  • Name of the event
  • Start and End Date of the event
  • Location of the event
  • URL of the event
  • Start and End date of the CFP
  • Arrangements around Travel, Accomodation and Event Fee for speakers

Scrapionize uses the HtmlAgilityPack package to parse the Sessionize CFP page.

Examples

Using Scrapionize is pretty straightforward. There's a scraper interface you can register, and a class providing the implementation for that interface. If you're using .NET dependency injection, there's also an extension method to auto-setup DI.

Example: using .NET Dependency Injection

Use the extension method to setup Scrapionize.

builder.Services.AddScrapionize();

Inject the interface into the constructor of the class you want to use it in.

private IScraper _scraper;

public SomeClass(IScraper scraper)
{
    _scraper = scraper;
}

And then use the scraper to get your Sessionize data!

var sessionizeData = _scraper.Scrape(new Uri("<YOUR-SESSIONIZE-URL>"));

Example: using new

Not the preferred way of adding dependencies, but still an option.

var scraper = new Scraper(); //new is glue!
var sessionizeData = scraper.Scrape(new Uri("<YOUR-SESSIONIZE-URL>"));

Hollywood produced an entire movie centered on this principle, in which the LEGO bad-guy was trying to glue pieces together.
Don't be that guy.
(Inspired by the New is Glue article on ardalis.com)

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

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
1.6.0 389 11/28/2022
1.5.0 389 11/4/2022
1.4.0 389 10/31/2022
1.3.0 404 10/18/2022
1.2.0 488 4/25/2022
1.1.0 479 2/15/2022
1.0.0 353 10/7/2021
0.9.4 367 5/2/2021
0.9.3 359 4/20/2021
0.9.2 350 4/20/2021

Updated packages, Fixed unit test namespace issue