Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Crawler ¶
type Fun ¶
type Fun struct {
Name string
Raw string
Params []string
Document *goquery.Document
Selection *goquery.Selection
Result string
PrevFun *Fun
NextFun *Fun
}
func (*Fun) InitSelector ¶
type Rule ¶
type Rule struct {
Name string
Enable bool
Id string
When string
Mode string
Page *struct {
URL string
List string
Item map[string]string
} `json:"page,omitempty"`
Json *struct {
URL string
List string
Item map[string]string
} `json:"json,omitempty"`
Feed *struct {
URL string
Item map[string]string
} `json:"feed,omitempty"`
}
Click to show internal directories.
Click to hide internal directories.