public static IEnumerable <string> ExtractHyperlinks(this IBrowsingResponse response) { var doc = response.AsHtmlDocument(); var ret = ExtractAnchorLinks(doc); return(response.FixPathToAbsolute(ret)); }
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)); }
public static IEnumerable <HtmlNode> ExtractInputFields(this IBrowsingResponse response) { var doc = response.AsHtmlDocument(); return(ExtractInputFields(doc)); }