Documentation
¶
Index ¶
Constants ¶
View Source
const BookPeopleURL = BookURL + "people/"
View Source
const BookURL = "https://book.douban.com/"
View Source
const DoubanURL = "https://www.douban.com/"
View Source
const MoviePeopleURL = MovieURL + "people/"
View Source
const MovieURL = "https://movie.douban.com/"
View Source
const MusicPeopleURL = MusicURL + "people/"
View Source
const MusicURL = "https://music.douban.com/"
View Source
const PeopleURL = DoubanURL + "people/"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BaseInterface ¶
type BaseInterface interface { // Checking flag combinations, validities, etc. Precheck() error // Execute the task. Execute() error }
BaseInterface defines the interface of each type of task.
type Collector ¶
type Collector struct {
// contains filtered or unexported fields
}
Collector contains the information used by the collector.
func NewCollector ¶
NewCollector returns a new collector task and initialise it.
type Parser ¶ added in v0.4.1
type Parser struct {
// contains filtered or unexported fields
}
Parser contains the information used by the parser.
type Publisher ¶ added in v0.4.1
type Publisher struct {
// contains filtered or unexported fields
}
Publisher contains the information used by the web publisher.
func NewPublisher ¶ added in v0.4.1
NewPublisher returns a new parser task and initialise it.
Click to show internal directories.
Click to hide internal directories.