rename api name xml -> html

This commit is contained in:
eson
2020-08-12 17:42:27 +08:00
parent 885003bf76
commit d91e6be269
5 changed files with 12 additions and 11 deletions

View File

@@ -58,7 +58,7 @@ func Execute() {
// log.Panic(err)
}
etor := extractor.ExtractXml(resp.Content())
etor := extractor.ExtractHtml(resp.Content())
result, err := etor.XPaths("//p[@class='taglist']/a[contains(@class, 'tag')]/@href")
if err != nil {
panic(err)