itv

package
v1.10.0 Latest Latest
Warning

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

Go to latest
Published: Jan 24, 2025 License: OSL-3.0 Imports: 8 Imported by: 0

README

Itv

even the media content is hard geo blocked

ITVX

Android 7:

sdkVersion:'24'

result:

filter=((type=="video"&&DisplayHeight<=720)||(type!="video"))

ITVX (Android TV)

Android 8:

sdkVersion:'26'

result:

filter=((type=="video"&&DisplayHeight<=576)||(type!="video"))

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DiscoveryTitle

type DiscoveryTitle struct {
	LatestAvailableVersion struct {
		PlaylistUrl string
	}
	Brand *struct {
		Title string
	}
	EpisodeNumber  int
	ProductionYear int
	SeriesNumber   int
	Title          string
}

func (*DiscoveryTitle) Playlist

func (d *DiscoveryTitle) Playlist() (*Playlist, error)

hard geo block

type Href added in v1.9.9

type Href struct {
	S string
}

func (*Href) UnmarshalText added in v1.9.9

func (h *Href) UnmarshalText(data []byte) error

type LegacyId

type LegacyId [3]string

func (LegacyId) Discovery

func (i LegacyId) Discovery() (*DiscoveryTitle, error)

func (*LegacyId) Set

func (i *LegacyId) Set(text string) error

func (LegacyId) String

func (i LegacyId) String() string

type MediaFile added in v1.9.9

type MediaFile struct {
	Href          Href
	KeyServiceUrl string
	Resolution    string
}

func (*MediaFile) Wrap added in v1.9.9

func (m *MediaFile) Wrap(data []byte) ([]byte, error)

type Playlist

type Playlist struct {
	Playlist struct {
		Video struct {
			MediaFiles []MediaFile
		}
	}
}

func (*Playlist) Resolution1080 added in v1.9.9

func (p *Playlist) Resolution1080() (*MediaFile, bool)

Jump to

Keyboard shortcuts

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