AngleSharp
omi
AngleSharp | omi | |
---|---|---|
15 | 6 | |
5,001 | 104 | |
0.9% | - | |
8.6 | 0.0 | |
19 days ago | 7 months ago | |
C# | C | |
MIT License | GNU General Public License v3.0 or later |
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
-
Migration of a Dynamic Website to a Static Website
Instead, what I ended up doing is utilizing AngleSharp for transforming the existing (dynamic) websites into static files. I've stored them on disk and made them ready to be served statically.
-
What do .NET devs use for web scraping these days?
AngleSharp
-
School Web scraping
Read and understand the HTML DOM with something like this https://anglesharp.github.io/
- Text editor library/HTML parser options for blogging app
-
Powershell/HTML: Apply color to HTML table based on results
Personally, if that script I wrote did need to be used on Core I probably would have compiled AngleSharp, loaded the HTML Parser DLL into the script, and used that.
-
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
-
Web scraping is so complicated, i cant specify a class only an attribute
Use anglesharp for parsing html
omi
-
Remote Windows PSSesssion not working from Linux K8s pod
References and further reading https://packages.debian.org/sid/netbase https://github.com/gssapi/gss-ntlmssp https://packages.debian.org/sid/libs/gss-ntlmssp https://www.bloggingforlogging.com/2020/08/21/wacky-wsman-on-linux/ https://github.com/PowerShell/PowerShell/issues/6647 https://github.com/jborean93/omi/issues/29 https://www.crowdstrike.com/cybersecurity-101/ntlm-windows-new-technology-lan-manager/
-
macOS for your daily driver? Got a M1 MBP running parallels at the moment. Tips? Tools?
Did a real quick look around which you've probably seen already, but brew install openssl will probs give you OpenSSL 1.1 and looks like https://github.com/jborean93/omi / https://www.powershellgallery.com/packages/PSWSMan/2.2.0 was updated to tell it to look for 1.1 vs. 1.0 on OSX.
- How useful is PowerShell in Linux
-
What's One Thing that PowerShell dosen't do that you wish it did?
Have you considered a fork of the WSMan lib I've worked on that's distributed through the PSWSMan module. It replaces the builtin WSMan lib(s) to fix a whole bunch of problems that I've mentioned here https://github.com/jborean93/omi#changes-from-upstream-omi. It makes the Linux -> Windows connection through WSMan so much easier to use and fixes one of the fundamental problems the builtin WSMan lib has with HTTPS, no certificate verification.
-
Enter-PSSession from Debian to Windows
The WSMan libs provided on Linux for PowerShell are quite troublesome but ultimately I've found that only Kerberos works properly which can be difficult to set up on Linux correctly. I've created a fork for this library which can be found under my omi repository. It fixes a whole bunch of issues with the provided library from PowerShell making it a lot easier to use. To install it you need to run the following as sudo
-
Connect-IPPSSession using PS Core 7.1.2 on macOS not working
Then after you close and reopen PowerShell the new library is now used for any WSMan operations. You find find out more about this fork on https://github.com/jborean93/omi.
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.
wasp - Windows Automation Snapin for PowerShell
CsQuery - CsQuery is a complete CSS selector engine, HTML parser, and jQuery port for C# and .NET 4.
AngleParse - HTML parsing and processing tool for PowerShell.
dotless - .NET Port of the ruby Less CSS lib
micro-editor - A modern and intuitive terminal-based text editor
FluentBootstrap
PowerShell - PowerShell for every system!
ExCSS - A CSS Parser for .NET. It's BADA55!
platform-compat - Roslyn analyzer that finds usages of APIs that will throw PlatformNotSupportedException on certain platforms.
Playwright - Playwright is a framework for Web Testing and Automation. It allows testing Chromium, Firefox and WebKit with a single API.
JAWyum - Just Another Wrapper for yum [powershell]