channel4

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: 4 Imported by: 0

README

Channel 4

How to watch from US

Download MITM Proxy:

https://mitmproxy.org/downloads

Start mitmproxy. Enter the following:

:set modify_headers '/~u vod.stream/X-Forwarded-For/25.0.0.0'

The following instruction is for Firefox, but Chrome should be similar. Open Application Menu and click "Options". Then click "Privacy & Security". Then scroll to "Security", and click "View Certificates". Then click "Authorities". Then click "Import". Find this file:

C:\Users\Steven\.mitmproxy\mitmproxy-ca.pem

and click "Open". Then click "Trust this CA to identify websites". Then click "OK". Then click "OK". Then click "General". Scroll to "Network Settings", and click "Settings". Click "Manual proxy configuration". After "HTTP Proxy", enter:

127.0.0.1

after "Port", enter:

8080

then click "OK". Now browse to a page:

https://channel4.com/programmes/frasier/on-demand/18926-001

Documentation

Index

Constants

This section is empty.

Variables

View Source
var LogLevel format.LogLevel

Functions

func ProgramID added in v1.52.4

func ProgramID(addr string) string

channel4.com/programmes/frasier/on-demand/18926-001

Types

type Stream

type Stream struct {
	VideoProfiles []struct {
		Name    string
		Streams []struct {
			URI string
		}
	}
}

func NewStream added in v1.52.4

func NewStream(id string) (*Stream, error)

func (Stream) Widevine added in v1.52.4

func (s Stream) Widevine() string

Jump to

Keyboard shortcuts

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