示例#1
0
 public static IQuery <T> Links <T>(ParsedHtml html, Func <string, string, T> selector) =>
 html.Links((href, ho) => selector(href, ho.InnerHtml))
 .Select(link => link)
 .ToQuery();
示例#2
0
 public static IEnumerable <string> Links(this ParsedHtml html) =>
 html.Links((href, _) => href);