Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BaseParser ¶
type BaseParser struct { Parser *goquery.Selection ParseArea string URL string ResponseCode int ResponseMessage error Config config.Config }
BaseParser is the base parser for all parsers in go-malscarper.
func (*BaseParser) InitParser ¶
func (base *BaseParser) InitParser(url string, parseArea string) error
InitParser to initiate base fields.
func (*BaseParser) SetResponse ¶ added in v0.2.0
func (base *BaseParser) SetResponse(code int, message string)
SetResponse to set response code and message.
Click to show internal directories.
Click to hide internal directories.