Package cineMember (v1.11.1) [up] [repository]

Index

Functions

func FetchId(urlData string) (int, error)

extracts the numeric ID and converts it to an integer

func FetchLogin(session *http.Cookie, email, password string) error
func FetchSession() (*http.Cookie, error)

Types

type Dash

type Dash struct {
	Body []byte
	Url  *url.URL
}
type MediaLink struct {
	MimeType string
	Url      string
}

Methods

func (m *MediaLink) Dash() (*Dash, error)

type Stream

type Stream struct {
	Error    string
	Links    []MediaLink
	NoAccess bool
}

Functions

func FetchStream(session *http.Cookie, id int) (*Stream, error)

must run login first

Methods

func (s *Stream) Dash() (*MediaLink, error)