From a Windows WinForms C# application I am trying to read a table from the web site (first page):
http://www.freeproxylists.net/?c=&pt=&pr=HTTP&a%5B%5D=1&a%5B%5D=2&u=40
I use Html Agility Pack to do this:
WebClient webClient = new WebClient();
string page = webClient.DownloadString("http://www.freeproxylists.net/?c=&pt=&pr=HTTP&a%5B%5D=1&a%5B%5D=2&u=40");
HtmlAgilityPack.HtmlDocument doc = new HtmlAgilityPack.HtmlDocument();
doc.LoadHtml(page);
But doc object does not contains the table I want. I would like to combine this with LINQ, something similiar doing here.
What I am trying to do is to read all the table into a list which each item of this list is another list which contains the items below:
IP Address, Port, Protocol, Anonymity, Country, Region, City, Uptime
How can I do this?