예제 #1
0
        public static IEnumerable <string> ExtractHyperlinks(this IBrowsingResponse response)
        {
            var doc = response.AsHtmlDocument();
            var ret = ExtractAnchorLinks(doc);

            return(response.FixPathToAbsolute(ret));
        }
예제 #2
0
        public static IEnumerable <string> ExtractAlllinks(this IBrowsingResponse response)
        {
            var doc = response.AsHtmlDocument();
            var ret = doc.ExtractAnchorLinks().ToList();

            ret.AddRange(doc.ExtractLinksNonAnchorLinks());
            return(response.FixPathToAbsolute(ret));
        }
예제 #3
0
        public static IEnumerable <HtmlNode> ExtractInputFields(this IBrowsingResponse response)
        {
            var doc = response.AsHtmlDocument();

            return(ExtractInputFields(doc));
        }