In this website : http://eu.battle.net/wow/en/character/Kazzak/Ierina/simple I want to get the value that says "560" item level.
I've done some research and I figured out how to get all source code with
string html = new WebClient().DownloadString(@"http://eu.battle.net/wow/en/character/Kazzak/Ierina/simple");
and i think the value which i should read is here in the source code :
(<span class="equipped">560</span> Equipped)
or here :
<div id="summary-averageilvl-best" class="best tip" data-id="averageilvl">
560
</div>
I have tried getting that value by using this way : https://stackoverflow.com/a/2958449/3935085
My code :
webBrowser1.DocumentText = new WebClient().DownloadString(@"http://eu.battle.net/wow/en/character/Kazzak/Ierina/simple");
HtmlElement ilvl = webBrowser1.Document.GetElementById("equipped");
label1.Text = ilvl.InnerText;
However, ilvl returns as null.