Skip to content

Commit

Permalink
修改css选择器默认是查询list
Browse files Browse the repository at this point in the history
  • Loading branch information
zlzforever committed Sep 14, 2018
1 parent c5f1dcd commit 0d27df1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/DotnetSpider.Extraction/Selectable.cs
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ public Selectable(List<dynamic> nodes)
/// <returns>查询接口</returns>
public override ISelectable Css(string css)
{
return Select(Selectors.Css(css));
return SelectList(Selectors.Css(css));
}

/// <summary>
Expand All @@ -72,7 +72,7 @@ public override ISelectable Css(string css)
public override ISelectable Css(string css, string attrName)
{
var cssSelector = Selectors.Css(css, attrName);
return Select(cssSelector);
return SelectList(cssSelector);
}

/// <summary>
Expand Down

0 comments on commit 0d27df1

Please sign in to comment.