Documentation ¶
Index ¶
Constants ¶
View Source
const (
UserAgent = "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/58.0.3029.96 Safari/537.36"
)
Variables ¶
This section is empty.
Functions ¶
func ExtractTextFromUrl ¶
Params:
url - URL of the page to be scraped xpath - the xpath of the target text in the html document regex - the regex to be applied to the extracted text found at xpath to extract final value returns: a string value that is the final plucked value
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.