用法
var page=Downloader.DownloadHtmlWithEncoding("http://www.baidu.com",Encoding.Utf8);
HtmlParser hp=new HtmlParser();
var root=hp.Parse(page);//get the root node html
var title=root.GetAllChildrenByTagName("title")[0];
用法
var page=Downloader.DownloadHtmlWithEncoding("http://www.baidu.com",Encoding.Utf8);
HtmlParser hp=new HtmlParser();
var root=hp.Parse(page);//get the root node html
var title=root.GetAllChildrenByTagName("title")[0];