var parser = new HtmlParser(); var document = await parser.ParseDocumentAsync(html); var linkElements = document.QuerySelectorAll("a");
Know more: