import "41.neocities.org/media/hulu"
type Authenticate struct {
DeviceToken string `json:"device_token"`
UserToken string `json:"user_token"`
}
func (a Authenticate) DeepLink(id Entity) (*DeepLink, error)
func (a *Authenticate) Refresh() error
returns user_token only
func (a *Authenticate) Unmarshal(data Byte[Authenticate]) error
func NewAuthenticate(email, password string) (Byte[Authenticate], error)
hulu.com/watch/023c49bf-6a99-4c67-851c-4c9e7609cc1d
type Playlist struct {
Message string
StreamUrl string `json:"stream_url"` // MPD
WvServer string `json:"wv_server"`
}