var Transport = http.Transport{ Proxy: func(req *http.Request) (*url.URL, error) { log.Println(req.Method, req.URL) return nil, nil }, }
func GetPath(rawUrl string) (string, error)
https://ctv.ca/shows/friends/the-one-with-the-bullies-s2e21
func Widevine(data []byte) ([]byte, error)
type AxisContent struct { AxisId int64 AxisPlaybackLanguages []struct { DestinationCode string } }
func (a *AxisContent) Content() (*Content, error)
func (a *AxisContent) Mpd(contentVar *Content) (string, error)
type Content struct { ContentPackages []struct { Id int64 } }
type ResolvedPath struct { FirstPlayableContent *struct { Id string } Id string }
func (r *ResolvedPath) Axis() (*AxisContent, error)