var Transport = http.Transport{ Proxy: func(req *http.Request) (*url.URL, error) { if path.Ext(req.URL.Path) != ".m4s" { log.Println(req.Method, req.URL) } return http.ProxyFromEnvironment(req) }, }
func Widevine(data []byte) ([]byte, error)
type Clips struct { Sources []struct { File File Type string } }
func (c *Clips) Dash() (*File, bool)
type File [1]url.URL
func (f *File) Mpd() (*http.Response, error)
The Request's URL and Header fields must be initialized
func (f *File) UnmarshalText(data []byte) error
these return a valid response body, but response status is "403 OK": http://siloh-fs.plutotv.net http://siloh-ns1.plutotv.net https://siloh-fs.plutotv.net https://siloh-ns1.plutotv.net
type Vod struct { Id string Seasons []struct { Number int64 Episodes []struct { Number int64 Name string Id string `json:"_id"` } } }
func (v *Vod) String() string