gulli

package
v0.6.0 Latest Latest
Warning

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

Go to latest
Published: Sep 25, 2019 License: MIT Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Gulli

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

Gulli provider gives access to Gulli catchup tv

func New

func New(conf ...func(p *Gulli)) (*Gulli, error)

New creates a Gulli provider with given configuration

func (*Gulli) DebugMode added in v0.4.0

func (p *Gulli) DebugMode(b bool)

DebugMode set debug mode

func (*Gulli) GetShowInfo

func (p *Gulli) GetShowInfo(ctx context.Context, s *providers.Show) error

GetShowInfo gather show information from dedicated web page. It load the html page of the show to extract availability date used as airdate and production year as season

func (*Gulli) GetShowStreamURL

func (p *Gulli) GetShowStreamURL(ctx context.Context, s *providers.Show) (string, error)

GetShowStreamURL return the show's URL, a mp4 file

func (Gulli) Name

func (p Gulli) Name() string

Name return the name of the provider

func (*Gulli) Shows

func (p *Gulli) Shows(ctx context.Context, mm []*providers.MatchRequest) chan *providers.Show

Shows download the shows catalog from the web site.

type ShowEntry added in v0.0.15

type ShowEntry struct {
	Title string
	URL   string
}

Jump to

Keyboard shortcuts

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