LightWebNetScraper 0.0.2

Lightweight .NET Web Scraper

Install-Package LightWebNetScraper -Version 0.0.2
dotnet add package LightWebNetScraper --version 0.0.2
<PackageReference Include="LightWebNetScraper" Version="0.0.2" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add LightWebNetScraper --version 0.0.2
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

LightWebNetScraper

Lightweight .NET web scraper

README Version 0.0.1

LightWebNetScraper is a .NET project for doing simple scraping tasks.

The project consist of a libary.

Supports plain XPATH or XSLT.

How do I get set up?

  • Include the nuget package and checkout the code example.
  • Nuget link https://www.nuget.org/packages/LightWebNetScraper

Code example

var scraper = new Scraper();

var result = scraper.StartScraping(new List<ScrapeInfo<string>>()
{
    new ScrapeInfo<string>(
        "https://www.nuget.org/packages/LightWebNetScraper",
        (htmlDoc, scrapeInfo) =>  htmlDoc.DocumentNode.SelectSingleNode(@"//span[@class='owner-name']").InnerHtml)
});

The InnerHtml in this case is "Renerotvig"

License

LightWebNetScraper is licensed under The MIT License (MIT). Basically, this license grants you the right to use LightWebNetScraper in any way you see fit. See License.md for more info.

LightWebNetScraper

Lightweight .NET web scraper

README Version 0.0.1

LightWebNetScraper is a .NET project for doing simple scraping tasks.

The project consist of a libary.

Supports plain XPATH or XSLT.

How do I get set up?

  • Include the nuget package and checkout the code example.
  • Nuget link https://www.nuget.org/packages/LightWebNetScraper

Code example

var scraper = new Scraper();

var result = scraper.StartScraping(new List<ScrapeInfo<string>>()
{
    new ScrapeInfo<string>(
        "https://www.nuget.org/packages/LightWebNetScraper",
        (htmlDoc, scrapeInfo) =>  htmlDoc.DocumentNode.SelectSingleNode(@"//span[@class='owner-name']").InnerHtml)
});

The InnerHtml in this case is "Renerotvig"

License

LightWebNetScraper is licensed under The MIT License (MIT). Basically, this license grants you the right to use LightWebNetScraper in any way you see fit. See License.md for more info.

Release Notes

Upgraded to Netstandard 2.0

Version History

Version Downloads Last updated
0.0.2 102 11/27/2018
0.0.1 292 12/4/2016