【发布时间】:2020-06-05 10:33:19
【问题描述】:
I want to create application in WPF wchich will scrape information from webpage
I read link to the page from text box at the top
I want to extract company name from h6
我不明白这种格式:“//h2[@class='card__title mdc-typography--headline6']”。我找不到文档 abot 表示 @ [] 等来创建另一个过滤器以 scrape 其他数据,例如标签中的电话号码。
【问题讨论】:
-
您可以像 Selvin 所说的那样通过 CSS 选择器,也可以使用包支持的 XPath。使用最适合您的需求。
标签: c# web-scraping html-agility-pack