package
0.0.30
Repository: https://github.com/octetic/gophetch.git
Documentation: pkg.go.dev

# Functions

ExtractAttr extracts a selector from the given document using the given attribute.
ExtractCSS extracts the given CSS selector from the given document.
ExtractJSONLD extracts the given JSON-LD attribute from the given document.
ExtractMeta extracts the given meta tag from the given document.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
NewReadableRule creates a new ReadableRule.
No description provided by the author
No description provided by the author
No description provided by the author

# Variables

No description provided by the author
No description provided by the author

# Structs

AuthorRule is the rule for extracting the author information from a page.
No description provided by the author
BaseRule is the base rule for all rules.
CanonicalRule is the rule for extracting the canonical URL of a page.
DateRule is the rule for extracting the date information from a page.
DescriptionRule is the rule for extracting the description information from a page.
ExtractionStrategy is the strategy for extracting a value.
FaviconRule is the rule for extracting the favicon URL of a page.
FeedRule is the rule for extracting the feed URL of a page.
LangRule is the rule for extracting the language information from a page.
LeadImageRule is the rule for extracting the lead image from a page.
No description provided by the author
No description provided by the author
PublisherRule is the rule for extracting the publisher information from a page.
No description provided by the author
ReadableRule is the rule for extracting the readable content.
No description provided by the author
No description provided by the author
SiteNameRule is the rule for extracting the site name information from a page.
No description provided by the author
TitleRule is the rule for extracting the title information from a page.

# Interfaces

ExtractResult is the result of an extraction.
A Rule is a rule for extracting a value from a node.

# Type aliases

ExtractFunc is the function signature for all extractors that can be used in a strategy.