如何在 C# 中使用 DOMXPath 进行网页抓取
有没有办法像 PHP 一样在 C# 中使用 DOMXPath 进行网页抓取?或者有没有其他方法可以做到同样的事情?
Is there any way to use DOMXPath in C# like PHP for web scraping? Or is there any alternative way to do the same?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
您可以使用 HTML Agility Pack - 它是一个 HTML 解析器,支持使用 XPath 进行查询。
You can use the HTML Agility Pack - it is an HTML parser and supports querying using XPath.