AngleSharp
playwright-sharp
DISCONTINUED
Our great sponsors
AngleSharp | playwright-sharp | |
---|---|---|
15 | 4 | |
4,955 | 840 | |
1.1% | - | |
8.6 | 9.5 | |
8 days ago | almost 3 years ago | |
C# | C# | |
MIT License | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
AngleSharp
-
What do .NET devs use for web scraping these days?
AngleSharp
- Text editor library/HTML parser options for blogging app
-
C# Web Scraper to check a sent Form
Now, assuming you have to scrape, C# does have two decent scraping libraries: AngleSharp and Html Agility Pack. I personally prefer AngleSharp.
-
Tell me your common tasks!
I would love a blog post or even a series of them about scraping local HTML files with either AngleSharp or HTMLAgilityPack.
-
How can I grab onto the html class name of a string that contains html, using c#?
If you want a cleaner and modern alternative to HtmlAgilityPack then I'd suggest https://github.com/AngleSharp/AngleSharp
- How to parse HTML in .NET - C# libraries comparison and benchmarks in 2021
-
14 .NET packages I always recommend
I was a long time user of HAP - but https://github.com/AngleSharp/AngleSharp is much better.
-
What's One Thing that PowerShell dosen't do that you wish it did?
I thought https://github.com/AngleSharp/AngleSharp was supposed to be better than agility, unless they changed.
-
Why is the .Net job market so huge but the online presence is not?
Take a look at AngleSharp I've switched from htmlagilitypack to that for hobby web crawlers and it's pretty neat.
-
Can I automatize navigating websites with C#?
You can use anglesharp
playwright-sharp
-
.NET Core ASP - PDF Generation for hosting on Azure?
Or https://github.com/microsoft/playwright-sharp
-
Can I automatize navigating websites with C#?
I've used PuppeteerSharp for web automation with great success. I understand that project is now Playwright-Sharp. I would highly recommend that over something like Selenium which is really more for testing.
-
Durable Functions to Schedule Publish to Dev.To
Using either Puppeteer or Playwright to scrape a web page is super simple. Both have their own .NET ported versions like Puppeteer Sharp and Playwright Sharp respectively. However, they don't work on Azure Functions, unfortunately. More precisely, they work on your local dev environment, not on Azure instance. This post would be useful for your node.js Azure Functions app, but it's not that helpful for your .NET application. Let me find a way for it to work on Azure Functions instance correctly.
What are some alternatives?
HtmlAgilityPack - Html Agility Pack (HAP) is a free and open-source HTML parser written in C# to read/write DOM and supports plain XPATH or XSLT. It is a .NET code library that allows you to parse "out of the web" HTML files.
CsQuery - CsQuery is a complete CSS selector engine, HTML parser, and jQuery port for C# and .NET 4.
PuppeteerSharp - Headless Chrome .NET API
dotless - .NET Port of the ruby Less CSS lib
FluentBootstrap
ExCSS - A CSS Parser for .NET. It's BADA55!
Playwright - Playwright is a framework for Web Testing and Automation. It allows testing Chromium, Firefox and WebKit with a single API.
HtmlSanitizer - Cleans HTML to avoid XSS attacks
LtGt
playwright-dotnet - .NET version of the Playwright testing and automation library.
LibSass Host - .NET wrapper around the LibSass library with the ability to support a virtual file system.