Exemple #1
0
        protected ResultMessage DellUrl(string url, List <SelectQuery> Select)
        {
            var    result = new ResultMessage();
            string html   = Http.GetHTMLByURL(url);
            var    dom    = htmlParser.Parse(html);

            foreach (var s in Select)
            {
                result.Add(string.IsNullOrEmpty(s.Name)?result.Count.ToString():s.Name, GetValues(dom, s));
            }

            return(result);
        }