mubi

package
v1.10.0 Latest Latest
Warning

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

Go to latest
Published: Jan 24, 2025 License: OSL-3.0 Imports: 8 Imported by: 0

README

Mubi

Android

https://play.google.com/store/apps/details?id=com.mubi

downloads: 4.27 million
files: APK APK APK APK
name: MUBI: Curated Cinema
offered by: MUBI
price: 0 USD
requires: 5.1 and up
size: 24.37 megabyte
updated on: Feb 3, 2024
version code: 29145256
version name: 41.2

Create Android 6 device. Install user certificate.

adb shell am start -a android.intent.action.VIEW `
-d https://mubi.com/en/us/films/passages-2022

x-forwarded-for

doesnt seem to work

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ClientCountry = "US"

Functions

This section is empty.

Types

type Address

type Address struct {
	// contains filtered or unexported fields
}

func (Address) Film

func (a Address) Film() (*FilmResponse, error)

func (*Address) Set

func (a *Address) Set(text string) error

func (*Address) String

func (a *Address) String() string

type Authenticate

type Authenticate struct {
	Token string
	User  struct {
		Id int
	}
}

func (Authenticate) Marshal added in v1.9.9

func (Authenticate) Marshal(code *LinkCode) ([]byte, error)

func (*Authenticate) Unmarshal

func (a *Authenticate) Unmarshal(data []byte) error

func (*Authenticate) Viewing

func (a *Authenticate) Viewing(film *FilmResponse) error

Mubi do this sneaky thing. you cannot download a video unless you have told the API that you are watching it. so you have to call `/v3/films/%v/viewing`, otherwise it wont let you get the MPD. if you have already viewed the video on the website that counts, but if you only use the tool it will error

func (*Authenticate) Wrap added in v1.9.9

func (a *Authenticate) Wrap(data []byte) ([]byte, error)

type FilmResponse

type FilmResponse struct {
	Id    int64
	Title string
	Year  int
}

type LinkCode

type LinkCode struct {
	AuthToken string `json:"auth_token"`
	LinkCode  string `json:"link_code"`
}

func (LinkCode) Marshal added in v1.9.9

func (LinkCode) Marshal() ([]byte, error)

func (*LinkCode) String

func (c *LinkCode) String() string

func (*LinkCode) Unmarshal

func (c *LinkCode) Unmarshal(data []byte) error

type SecureUrl

type SecureUrl struct {
	TextTrackUrls []TextTrack `json:"text_track_urls"`
	Url           string
}

func (SecureUrl) Marshal added in v1.9.9

func (SecureUrl) Marshal(
	auth *Authenticate, film *FilmResponse,
) ([]byte, error)

func (*SecureUrl) Unmarshal

func (s *SecureUrl) Unmarshal(data []byte) error

type TextTrack

type TextTrack struct {
	Id  string
	Url string
}

func (*TextTrack) String

func (t *TextTrack) String() string

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL
JackTT - Gopher 🇻🇳