Documentation ¶
Index ¶
- type Channel
- type Channels
- type Event
- type Events
- type Live
- type Scraper
- func (sch *Scraper) EventByChannel(channel *Channel) (event *Event, live *Live)
- func (av *Scraper) EventByChannelAndTime(channel *Channel, currTime time.Time) (event *Event, live *Live)
- func (av *Scraper) GetAcestreamId(channelId string) (string, error)
- func (av *Scraper) GuideURL() string
- func (av *Scraper) RefreshGuide() error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Channel ¶
Channel represents an Arenavision channel.
func (*Channel) GetLink ¶
GetLink get the channel source page and returns the first stream link found. Limits: currently it handles only acestream links.
type Event ¶
type Event struct { StartTime time.Time Sport string Competition string Event string Lives []*Live // contains filtered or unexported fields }
Event struct
type Scraper ¶
type Scraper struct { Channels Channels Events Events Client scraper.URLGetter // contains filtered or unexported fields }
Arenavision scraper.
func (*Scraper) EventByChannel ¶
func (*Scraper) EventByChannelAndTime ¶
func (av *Scraper) EventByChannelAndTime(channel *Channel, currTime time.Time) (event *Event, live *Live)
EventByChannelAndTime returns
func (*Scraper) GetAcestreamId ¶
func (*Scraper) RefreshGuide ¶
Click to show internal directories.
Click to hide internal directories.