Shadow root bypass by Html Agility Pack c#
Can someone help i tried to take some values from another site and use for it Html Agility Pack all work for moment, that it not show all values and then i check and saw shadow-root(open), how i can bypass it?
public static String Test() {
var web = new HtmlWeb();
var document = web.Load("https://gamewith.net/cod-mw3/41723");
var weapons = new List<Model>(); var productHTMLElements = document.DocumentNode.QuerySelectorAll("div.weapon_list"); foreach (var productElement in productHTMLElements) { var tr = productElement.QuerySelectorAll("tr"); var allTR = tr.Skip(1); foreach (var trr in allTR) { var td = trr.QuerySelectorAll("td"); var Name = td.First().InnerText; var scoreElement = td.Last().QuerySelector("gds-walkthrough-vote-en"); //Console.WriteLine(Name + " " + Score); } } Who need this is link for site: https://gamewith.net/cod-mw3/41723 Need to take User Rating values I tried search info in internet, but did not find anything about it
var weapons = new List<Model>(); var productHTMLElements = document.DocumentNode.QuerySelectorAll("div.weapon_list"); foreach (var productElement in productHTMLElements) { var tr = productElement.QuerySelectorAll("tr"); var allTR = tr.Skip(1); foreach (var trr in allTR) { var td = trr.QuerySelectorAll("td"); var Name = td.First().InnerText; var scoreElement = td.Last().QuerySelector("gds-walkthrough-vote-en"); //Console.WriteLine(Name + " " + Score); } } Who need this is link for site: https://gamewith.net/cod-mw3/41723 Need to take User Rating values I tried search info in internet, but did not find anything about it
GameWith
MW3 | All Guns and Weapons List | CoD Modern Warfare 3 2023 - GameWith
The weapon list in Call of Duty Modern Warfare 3 (2023). Includes all guns list, weapons, stats, and how to unlock in CoD MW3 (2023).
4 Replies