Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

我该如何获取多个元素 #227

Closed
JHeLiu opened this issue Mar 21, 2022 · 2 comments
Closed

我该如何获取多个元素 #227

JHeLiu opened this issue Mar 21, 2022 · 2 comments

Comments

@JHeLiu
Copy link

JHeLiu commented Mar 21, 2022

比如

("//ul/li")

这个库我该如何遍历它

@lovetjj
Copy link

lovetjj commented Feb 24, 2023

用Nodes去获取多个

@zlzforever
Copy link
Collaborator

HtmlDocument.SelectNodes("{xpath}")

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants