tubi

package
v1.9.6 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 30, 2024 License: OSL-3.0 Imports: 9 Imported by: 0

README

tubi

android

need to use at least Android 12. the app crashes with older versions:

7.24.0 tubi does not work on rooted device
5.9.1 pass

this is it:

https://abernihaaaaaaaamaaaaaaaaaaaaa.cloudfront.tubi.video/08154497-59e8-4b54-9588-8dbcca436fa8/5l9qdblj.mp4

from:

https://manifest.production-public.tubi.io/08154497-59e8-4b54-9588-8dbcca436fa8/01cwjck21m.m3u8?token=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJjZG5fcHJlZml4IjoiaHR0cHM6Ly9hYmVybmloYWFhYWFhYWFtYWFhYWFhYWFhYWFhYS5jbG91ZGZyb250LnR1YmkudmlkZW8iLCJjb3VudHJ5IjoiVVMiLCJkZXZpY2VfaWQiOiJhYjU1NDUyYy02NmUwLTQwMjEtOTYxOS01YmRjMjVmMjZhZTgiLCJleHAiOjE3MTMxNDkxMDAsIm1lZGlhX3NpZyI6MTMzMDY2OTc5LCJwbGF0Zm9ybSI6IkFORFJPSUQiLCJ1c2VyX2lkIjowfQ.mxGw2g4PmkWQsjKoS6zcqePWV2x9nm0w8cwlnYTwsOw

from:

https://uapi.adrise.tv/cms/content?content_id=589292&video_resources%5B%5D=hlsv6_widevine_psshv0&limit_resolutions%5B%5D=h264_1080p&video_resources%5B%5D=hlsv6&platform=android&deviceId=ab55452c-66e0-4021-9619-5bdc25f26ae8&app_id=tubitv

web

this is it:

https://fastly2.tubi.video/08154497-59e8-4b54-9588-8dbcca436fa8/oqna1g3k.mp4

from:

https://manifest.production-public.tubi.io/08154497-59e8-4b54-9588-8dbcca436fa8/isvyood9ww.m3u8?token=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJjZG5fcHJlZml4IjoiaHR0cHM6Ly9mYXN0bHkyLnR1YmkudmlkZW8iLCJjb3VudHJ5IjoiVVMiLCJkZXZpY2VfaWQiOiI3Y2Y3NTEwOS1hNjM5LTQ2MTMtYmUzYy0yYzVkOTQzOGY5ZWMiLCJleHAiOjE3MTMxNDM3MDAsIm1lZGlhX3NpZyI6MTMzMDY2OTc5LCJwbGF0Zm9ybSI6IldFQiIsInVzZXJfaWQiOjB9.eCLdEtHs06jUYtpFlKw2PF9QmtWwdhGzaiCluM_jyiI

from:

https://tubitv.com/movies/589292/the-mask

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Content

type Content struct {
	Children       []*Content
	DetailedType   string `json:"detailed_type"`
	EpisodeNumber  int    `json:"episode_number,string"`
	ID             int    `json:",string"`
	SeriesId       int    `json:"series_id,string"`
	Title          string
	VideoResources []VideoResource `json:"video_resources"`
	Year           int
	// contains filtered or unexported fields
}

func (Content) Episode

func (c Content) Episode() bool

func (Content) Get

func (c Content) Get(id int) (*Content, bool)

func (Content) Marshal added in v1.9.3

func (c Content) Marshal() ([]byte, error)

func (*Content) New

func (c *Content) New(id int) error

func (*Content) Unmarshal added in v1.9.3

func (c *Content) Unmarshal(text []byte) error

func (Content) Video

func (c Content) Video() (*VideoResource, error)

type Namer

type Namer struct {
	C *Content
}

func (Namer) Episode

func (n Namer) Episode() int

func (Namer) Season

func (n Namer) Season() int

func (Namer) Show

func (n Namer) Show() string

func (Namer) Title

func (n Namer) Title() string

S01:E03 - Hell Hath No Fury

func (Namer) Year

func (n Namer) Year() int

type Resolution

type Resolution int64

func (Resolution) MarshalText added in v1.9.3

func (r Resolution) MarshalText() ([]byte, error)

func (*Resolution) UnmarshalText

func (r *Resolution) UnmarshalText(text []byte) error

type VideoResource

type VideoResource struct {
	LicenseServer *struct {
		URL string
	} `json:"license_server"`
	Manifest struct {
		URL string
	}
	Resolution Resolution
	Type       string
}

func (VideoResource) RequestHeader

func (VideoResource) RequestHeader() (http.Header, error)

func (VideoResource) RequestUrl

func (v VideoResource) RequestUrl() (string, bool)

func (VideoResource) UnwrapResponse added in v1.8.9

func (VideoResource) UnwrapResponse(b []byte) ([]byte, error)

func (VideoResource) WrapRequest added in v1.8.9

func (VideoResource) WrapRequest(b []byte) ([]byte, error)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL