Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Channel ¶
type Channel struct {
ID string `yaml:"id"`
}
Channel represents youtube channel schema.
type Configs ¶
type Configs struct { Channels []Channel `yaml:"channels"` Teams []string `yaml:"teams"` Terms []string `yaml:"terms"` Excludes []string `yaml:"excludes"` Playlist string `yaml:"playlist"` }
Configs is the config file for the crawler.
type Crawler ¶
type Crawler struct {
// contains filtered or unexported fields
}
Crawler crawls youtube channels and filters uploads that match the requirements.
func NewCrawler ¶
NewCrawler Creates a new crawler object.
func (*Crawler) GetPlaylistID ¶
GetPlaylistID gets uploads ID.
func (*Crawler) GetUpdatedVideos ¶
GetUpdatedVideos returns a list of updated videos.
func (*Crawler) GetUploads ¶
GetUploads gets the uploaded videos for the given playlist.
Click to show internal directories.
Click to hide internal directories.