Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Parser ¶
type Parser struct {
// contains filtered or unexported fields
}
func (*Parser) ParseFileURL ¶
ParseFileURL takes a URL and extracts the file URL from it by using the stored XPath expression. The function returns the extracted URL and an error if the XPath expression does not match any node or if the node does not have an href attribute.
Click to show internal directories.
Click to hide internal directories.