Пример #1
0
 public static HtmlPageInfo Extract(string html, Uri basehref)
 {
     Html.HtmlPageInfoExtractor ex = new Html.HtmlPageInfoExtractor(html, basehref);
     while (!ex.EOF) ex.Read();
     HtmlPageInfo result = new HtmlPageInfo();
     result.Title = ex.Title;
     return result;
 }
Пример #2
0
        public static HtmlPageInfo Extract(string html, Uri basehref)
        {
            Html.HtmlPageInfoExtractor ex = new Html.HtmlPageInfoExtractor(html, basehref);
            while (!ex.EOF)
            {
                ex.Read();
            }
            HtmlPageInfo result = new HtmlPageInfo();

            result.Title = ex.Title;
            return(result);
        }