crawler

package
v0.0.0-...-87e760d Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 11, 2020 License: MIT Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var PeopleCrawler *colly.Collector
View Source
var PeoplePaginationCrawler *colly.Collector
View Source
var PersonCrawler *colly.Collector
View Source
var SessionCrawler *colly.Collector
View Source
var SessionsCrawler *colly.Collector

Functions

func InitPersonCrawler

func InitPersonCrawler(store store.IStore)

func InitSessionCrawler

func InitSessionCrawler(store store.IStore)

func InitSessionsCrawler

func InitSessionsCrawler(store store.IStore)

func InitVotesCrawler

func InitVotesCrawler(store store.IStore)

Types

type Crawler

type Crawler struct {
	// contains filtered or unexported fields
}

func (*Crawler) FetchPeople

func (c *Crawler) FetchPeople()

func (*Crawler) FetchSessions

func (c *Crawler) FetchSessions(withVotes bool)

func (*Crawler) FetchTestSession

func (c *Crawler) FetchTestSession()

Test용으로 안건 2개가 처리된 본회의를 테스트해보자

type HTTPCrawler

type HTTPCrawler struct {
	// contains filtered or unexported fields
}
var VotesCrawler *HTTPCrawler

func (*HTTPCrawler) Visit

func (c *HTTPCrawler) Visit(link string, BillID string, ch chan bool)

type ICrawler

type ICrawler interface {
	FetchPeople()
	FetchSessions(withVotes bool)
	FetchTestSession()
}

func New

func New(store store.IStore) ICrawler

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL