Closed blaudev closed 5 years ago
n := htmlquery.FindOne(doc, "//h1") t := htmlquery.InnerText(n)
t and n.FirstChild.Data gets data from all parent nodes
doc source: https://www.vivavisos.com.ar/alquileres-vacacionales/monte-hermoso/departamento-monoambiente-en-faro-recalada-356/192256448
Sorry, is a issue on golang.org/x/net/html
n := htmlquery.FindOne(doc, "//h1") t := htmlquery.InnerText(n)
t and n.FirstChild.Data gets data from all parent nodes
doc source: https://www.vivavisos.com.ar/alquileres-vacacionales/monte-hermoso/departamento-monoambiente-en-faro-recalada-356/192256448