How to get get value of java script's variable from a website in c# .net
I want to get value of JavaScript's variable from a website in c# net .
Currently I use this code:
System.Net.WebClient wc = new System.Net.WebClient();
string webData = wc.DownloadString("://87.126.167.13/");
textBox1.Text = Convert.ToString(webData);
It returns HTML. But I want the value of temperature from this link:
://87.126.167.13/ but it returns:
<td>Temperature:</td><td><script>document.write(MNS,TW1,TW2,'.',TF,TF1)</script>
C</td>
No comments:
Post a Comment