func Widevine(data []byte) ([]byte, error)
type Dash struct { Body []byte Url *url.URL }
func FetchDash(urlData *url.URL) (*Dash, error)
type Series struct { SessionToken string Vod []Vod }
func FetchSeries(movieShow string) (*Series, error)
pluto.tv/on-demand/movies/64946365c5ae350013623630 pluto.tv/on-demand/movies/disobedience-ca-2018-1-1
func (s *Series) GetEpisodeUrl(episodeId string) (*url.URL, error)
func (s *Series) GetMovieUrl() *url.URL
It assumes Vod and Stitched.Paths always have at least one entry
type Stitched struct { Paths []struct { Path string } }
type Vod struct { Id string Seasons []struct { Episodes []struct { Id string `json:"_id"` Name string Number int Stitched Stitched } Number int } Slug string Stitched *Stitched }
func (v *Vod) String() string