Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CallbackFunc ¶
CallbackFunc represents a function that operates on an HTML node.
type Event ¶
type Event struct {
// contains filtered or unexported fields
}
Event represents an event to be triggered on a specific HTML node type.
type Extractor ¶
type Extractor interface {
Extract(events ...Event)
}
Extractor defines the interface for extracting content based on provided events.
func NewExtractor ¶
NewExtractor creates a new instance of the Extractor.
type Reader ¶
Reader defines an interface for reading HTML content.
func NewReaderWithFile ¶
NewReaderWithFile creates a new instance of ReaderWithFile.
func NewReaderWithUrl ¶
NewReaderWithUrl creates a new instance of ReaderWithUrl with the specified URL.
Click to show internal directories.
Click to hide internal directories.