vimeo

package
v1.49.0 Latest Latest
Warning

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

Go to latest
Published: Mar 4, 2022 License: OSL-3.0 Imports: 6 Imported by: 2

README

Vimeo

https://github.com/ytdl-org/youtube-dl/issues/30622

Pass pass

GET /videos?links=https://vimeo.com/581039021/9603038895 HTTP/1.1
Host: api.vimeo.com
Authorization: JWT eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJleHAiOjE2NDQ1MzIzMjAsInVzZXJfaWQiOm51bGwsImFwcF9pZCI6NTg0NzksInNjb3BlcyI6InB1YmxpYyIsInRlYW1fdXNlcl9pZCI6bnVsbH0.mtroxz3fs6nb7wx50JnmwM2Nq7Hd-A2d5pDysuNMLZ0

https://vimeo.com/api/oembed.json?url=https://vimeo.com/581039021/9603038895

Pass fail

GET /videos?links=https://vimeo.com/477957994/2282452868 HTTP/1.1
Host: api.vimeo.com
Authorization: JWT eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJleHAiOjE2NDQ1MzIzMjAsInVzZXJfaWQiOm51bGwsImFwcF9pZCI6NTg0NzksInNjb3BlcyI6InB1YmxpYyIsInRlYW1fdXNlcl9pZCI6bnVsbH0.mtroxz3fs6nb7wx50JnmwM2Nq7Hd-A2d5pDysuNMLZ0

https://vimeo.com/api/oembed.json?url=https://vimeo.com/477957994/2282452868

Fail pass

GET /videos?links=https://vimeo.com/581039021?unlisted_hash=9603038895 HTTP/1.1
Host: api.vimeo.com
Authorization: JWT eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJleHAiOjE2NDQ1MzIzMjAsInVzZXJfaWQiOm51bGwsImFwcF9pZCI6NTg0NzksInNjb3BlcyI6InB1YmxpYyIsInRlYW1fdXNlcl9pZCI6bnVsbH0.mtroxz3fs6nb7wx50JnmwM2Nq7Hd-A2d5pDysuNMLZ0

https://vimeo.com/api/oembed.json?url=https://vimeo.com/581039021?unlisted_hash=9603038895

Fail fail

GET /videos?links=https://vimeo.com/477957994?unlisted_hash=2282452868 HTTP/1.1
Host: api.vimeo.com
Authorization: JWT eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJleHAiOjE2NDQ1MzIzMjAsInVzZXJfaWQiOm51bGwsImFwcF9pZCI6NTg0NzksInNjb3BlcyI6InB1YmxpYyIsInRlYW1fdXNlcl9pZCI6bnVsbH0.mtroxz3fs6nb7wx50JnmwM2Nq7Hd-A2d5pDysuNMLZ0

https://vimeo.com/api/oembed.json?url=https://vimeo.com/477957994?unlisted_hash=2282452868

How to get Basic Authentication?

https://github.com/httptoolkit/frida-android-unpinning

Images

https://stackoverflow.com/questions/1361149

Why does this exist?

January 28 2022:

I use it myself.

https://vimeo.com/66531465

Documentation

Index

Constants

This section is empty.

Variables

View Source
var LogLevel format.LogLevel

Functions

This section is empty.

Types

type Clip added in v1.46.7

type Clip struct {
	ID, UnlistedHash int64
}

func NewClip added in v1.46.7

func NewClip(address string) (*Clip, error)

type Download added in v1.46.7

type Download struct {
	Public_Name string
	Width       int64
	Height      int64
	Size_Short  string
	Link        string
}

func (Download) String added in v1.48.8

func (d Download) String() string

type JsonWeb added in v1.46.7

type JsonWeb struct {
	Token string
}

func NewJsonWeb added in v1.46.7

func NewJsonWeb() (*JsonWeb, error)

func (JsonWeb) Video added in v1.46.7

func (w JsonWeb) Video(clip *Clip) (*Video, error)

type Video

type Video struct {
	Duration     int64
	Release_Time string
	Name         string
	Pictures     struct {
		Base_Link string
	}
	Download []Download
}

func (Video) String added in v1.48.8

func (v Video) String() string

func (Video) Time added in v1.46.7

func (v Video) Time() time.Duration

Jump to

Keyboard shortcuts

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