ted

package
v1.53.0 Latest Latest
Warning

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

Go to latest
Published: May 11, 2022 License: OSL-3.0 Imports: 6 Imported by: 0

README

TED

Android client

com.ted.android

Install system certificate. Then go here with Android Chrome:

https://ted.com

and click on one of the videos. A prompt should come up that says "Open with". Click "TED", then "JUST ONCE". The video should open in the app, and if you are monitoring, you should see this request:

GET https://devices.ted.com/api/v2/videos/rha_goddess_and_deepa_purushothaman_4_ways_to_redefine_power_at_work_to_include_women_of_color/react_native_v2.json HTTP/2.0
accept: application/json
cache-control: no-cache
accept-encoding: gzip
user-agent: okhttp/4.9.1
content-length: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var LogLevel format.LogLevel

Functions

This section is empty.

Types

type TalkResponse

type TalkResponse struct {
	SpeakerName     string
	Title           string
	FilmedTimestamp int64
	Downloads       struct {
		Video []Video
	}
}

func NewTalkResponse

func NewTalkResponse(slug string) (*TalkResponse, error)

func (TalkResponse) Format added in v1.52.9

func (t TalkResponse) Format(f fmt.State, verb rune)

func (TalkResponse) Time added in v1.52.9

func (t TalkResponse) Time() time.Time

func (TalkResponse) Video added in v1.52.9

func (t TalkResponse) Video(bitrate int64) *Video

type Video

type Video struct {
	Bitrate int64
	Size    int64
	Format  string
	URL     string
}

Jump to

Keyboard shortcuts

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