Skip to main content
The 2025 Annual Developer Survey is live — take the Survey today!
0 votes
0 answers
34 views

How do I then replace the changed tags from the selection in the main document?

I am new to AngleSharp. I am processing text in the desired tags in html documents. I select tags-elements with text, then change the text in each tag in the selection. How then to replace the changed ...
user30267781's user avatar
0 votes
1 answer
58 views

AngleSharp does not find element using selector

Can anyone explain why this code does not find the <div /> element? I am using AngleSharp. string html = "<div class=\"styles__Accordion___blue\"><h1>Hello</h1>&...
phil's user avatar
  • 2,259
0 votes
0 answers
15 views

Detect patterns in html dom

I have this html document which I have parsed via anglesharp HtmlParser. I now want to be able to deteck certain patterns in this html document based on how the body.childnodes are ordered. to do so i'...
I am not Fat's user avatar
0 votes
2 answers
3k views

Could not load file or assembly System.Memory, Version=4.0.1.1, Culture=neutral,

TL;DR I was tasked to migrate the Office add-in (VSTO) installer from Windows Installer to WiX. As usual, I created a WiX project (HearWave), added all the project files to the xml-config of the ...
RAMe0's user avatar
  • 1,267
0 votes
0 answers
48 views

Missing Information with Web Scraping

I want to try to divide my music files into folders divided by genre, and for ease I'm writing the code in c#. The information I need is in this div class of the html code of the google page "...
Christian 30's user avatar
0 votes
0 answers
52 views

AngleSharp returns nothing with QuerySelectorAll

I am trying to scrape press releases from a website using c# .net 8 with AngleSharp library. Here's the anchor tags am trying to get. <a class="search-result ng-scope" ng-repeat="...
Felix's user avatar
  • 1
0 votes
1 answer
427 views

How to set a cookie properly in AngleSharp?

I'm writing an app to automate grabbing data from my profile on the website Criticker.com. I'm able to successfully log into the website with AngleSharp, and after I do so, I grab the cookie, but when ...
morphinapg's user avatar
0 votes
1 answer
82 views

AngleSharp Parsing title="text"

There is this piece of HTML page code: <table cellspacing="0" id="work_outline"> <td> <div class="work_genre"> <a href="...
K14M's user avatar
  • 5
0 votes
1 answer
120 views

How can I write an integration test on an authorize page in a Razor app in order to access and test it?

I want to make a test that access my page that need Admin role to access it. This is my page: (Model) [Authorize(Roles = "Admin")] public class AddModel : PageModel { ...
mathdx's user avatar
  • 67
0 votes
1 answer
51 views

AngleSharp HtmlParser inserts empty spans

library AngleSharp.HtmlParser in c# inserts empty spans input html: <div style="font-size: 16pt; font-weight: bold;">Заголовок</div> <div> <table style="font-family: Calibri; ...
DelyaHF's user avatar
  • 31
0 votes
1 answer
663 views

C# AngleSharp Attribute Parsing

How to parse multiple attributes if QuerySelectorAll().GetAttribute() doesn't work? Website page example <div class="product-slider"> <!-- Sample image data --> <div ref=&...
K14M's user avatar
  • 5
0 votes
1 answer
297 views

Anglesharp QuerySelectorAll Syntax for "Like Tag"

Is there a way to find custom html tags using LIKE syntax in AngleSharp? I know the syntax follows CSS selectors but have not found a reference in documentation or example that works. // For all ...
WillC's user avatar
  • 2,185
0 votes
0 answers
210 views

IMDb Scraping with C# and Anglesharp: can not scrape img tag properly

I implement some IMDb scraper but my scraper gets the wrong image src value. Images are not loaded immediately and the value in src is some default image, it is not the picture of the movie because ...
user avatar
2 votes
1 answer
683 views

Authorization using AngleSharp

I am trying to sign in Habr.com with AngleSharp. I can fill e-mail and password fields, but don't know how to submit the form. If you know any other ways, could you share them, please? string ...
Tanya Stlemakh's user avatar
0 votes
1 answer
506 views

AngleSharp: How to parse XML with XHTML-entities?

I've got XML to parse that mostly looks like XHTML, but according to the docs should be XML, looking like XHTML. So I resort to AngleSharp.XML to parse it. But I already fail to parse the simplest ...
Heinrich Ulbricht's user avatar

15 30 50 per page
1
2 3 4 5
11