Documentation ¶
Index ¶
- func FieldsFromDOM(dom *goquery.Selection, dompaths scraper.DOMPaths, seName engines.Name) (string, string, string)
- func ParseTextWithHTML(rawHTML string) string
- func ParseURL(rawURL string) string
- func RawFieldsFromDOM(dom *goquery.Selection, dompaths scraper.DOMPaths, seName engines.Name) (string, string, string)
- func SanitizeDescription(descText string) string
- func SanitizeFields(linkText string, titleText string, descText string) (string, string, string)
- func SanitizeTitle(titleText string) string
- func SanitizeURL(urlText string) string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FieldsFromDOM ¶
func FieldsFromDOM(dom *goquery.Selection, dompaths scraper.DOMPaths, seName engines.Name) (string, string, string)
Fetches from DOM via dompaths and sanitizes. Returns url, title and description.
func ParseTextWithHTML ¶
func RawFieldsFromDOM ¶
func RawFieldsFromDOM(dom *goquery.Selection, dompaths scraper.DOMPaths, seName engines.Name) (string, string, string)
Fetches from DOM via dompaths. Returns url, title and description.
func SanitizeDescription ¶
func SanitizeFields ¶
func SanitizeTitle ¶
func SanitizeURL ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.