criterion

package
v1.9.8 Latest Latest
Warning

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

Go to latest
Published: Oct 27, 2024 License: OSL-3.0 Imports: 6 Imported by: 0

README

criterion

  1. criterionchannel.com/checkout
  2. monthly
  3. email
    • mailsac.com
  4. confirm email
  5. password
  6. name on card
  7. card number
    • CANNOT USE VCC
  8. expiration
  9. CVC
  10. zip
  11. start subscription
  12. criterionchannel.com/settings/manage/billing
  13. manager subscription
  14. cancel subscription
  15. confirm cancellation

android

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

> play -i com.criterionchannel
details[6] = The Criterion Collection
details[8] = 0 USD
details[13][1][4] = 8.701.1
details[13][1][16] = Apr 8, 2024
details[13][1][17] = APK APK APK APK
details[13][1][82][1][1] = 5.0 and up
downloads = 192.95 thousand
name = The Criterion Channel
size = 31.98 megabyte
version code = 11271

Create Android 6 device. Install user certificate

<intent-filter>
   <action android:name="android.intent.action.VIEW"/>
   <category android:name="android.intent.category.DEFAULT"/>
   <category android:name="android.intent.category.BROWSABLE"/>
   <data android:scheme="@string/scheme"/>
</intent-filter>

then:

res\values\strings.xml
797:    <string name="scheme">vhxcriterionchannel</string>

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AuthToken

type AuthToken struct {
	AccessToken string `json:"access_token"`
	Raw         []byte `json:"-"`
}

func (*AuthToken) Files

func (a *AuthToken) Files(item *EmbedItem) (VideoFiles, error)

func (*AuthToken) New

func (a *AuthToken) New(username, password string) error

func (*AuthToken) Unmarshal

func (a *AuthToken) Unmarshal() error

func (*AuthToken) Video

func (a *AuthToken) Video(slug string) (*EmbedItem, error)

type EmbedItem

type EmbedItem struct {
	Links struct {
		Files struct {
			Href string
		}
	} `json:"_links"`
	Metadata struct {
		YearReleased int `json:"year_released"`
	}
	Name string
}

func (*EmbedItem) Episode

func (*EmbedItem) Episode() int

func (*EmbedItem) Season

func (*EmbedItem) Season() int

func (*EmbedItem) Show

func (*EmbedItem) Show() string

func (*EmbedItem) Title

func (e *EmbedItem) Title() string

func (*EmbedItem) Year

func (e *EmbedItem) Year() int

type VideoFile

type VideoFile struct {
	DrmAuthorizationToken string `json:"drm_authorization_token"`
	Links                 struct {
		Source struct {
			Href string
		}
	} `json:"_links"`
	Method string
}

func (*VideoFile) RequestHeader

func (*VideoFile) RequestHeader() (http.Header, error)

func (*VideoFile) RequestUrl

func (v *VideoFile) RequestUrl() (string, bool)

func (*VideoFile) UnwrapResponse

func (*VideoFile) UnwrapResponse(b []byte) ([]byte, error)

func (*VideoFile) WrapRequest

func (*VideoFile) WrapRequest(b []byte) ([]byte, error)

type VideoFiles

type VideoFiles []VideoFile

func (VideoFiles) Dash

func (v VideoFiles) Dash() (*VideoFile, bool)

func (*VideoFiles) DashError

func (*VideoFiles) DashError() error

Jump to

Keyboard shortcuts

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