func FetchId(link string) (int, error)
extracts the numeric ID and converts it to an integer
type Dash struct { Body []byte Url *url.URL }
type MediaLink struct { MimeType string Url string }
func (m *MediaLink) Dash() (*Dash, error)
Session holds the cookie data.
type Session struct { Cookie *http.Cookie }
func (s *Session) Fetch() error
Fetch performs the HEAD request to cinemember.nl and populates the Session with the PHPSESSID cookie.
func (s Session) Login(email, password string) error
func (s Session) Stream(id int) (*Stream, error)
must run Session.Login first
type Stream struct { Error string Links []MediaLink NoAccess bool }
func (s *Stream) Dash() (*MediaLink, error)