Skip to content

Instantly share code, notes, and snippets.

@einstein95
Last active September 23, 2019 11:55
Show Gist options
  • Star 7 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save einstein95/69e2f105870e7961f6940cd9e55b1079 to your computer and use it in GitHub Desktop.
Save einstein95/69e2f105870e7961f6940cd9e55b1079 to your computer and use it in GitHub Desktop.

See also: NZ_TV_streams.md

mpv <stream> --http-header-fields "X-Forwarded-For: 110.33.122.75"

9Now

Adelaide

Brisbane

Melbourne

Perth

Sydney


7 Food

master_1, master_2, master_3, master_4, master_5


7 Live

master_200.m3u8, master_400.m3u8, master_600.m3u8, master_1000.m3u8 and master_1250.m3u8

Melbourne

Sydney

Adelaide

Perth

Brisbane

Queensland

Cairns

Gold Coast

Mackay

Rockhampton

Toowoomba

Townsville


SBS

index-root-ipad_2.m3u8.m3u8, index-root-ipad_3.m3u8, index-root-ipad_5.m3u8 and index-root-ipad_8.m3u8 (Main: index-root-ipad.m3u8)


Ten

Note (2017-09-18): Eleven returns "Content not found"


ABC

ABC1

mpv https://abc-iview-mediapackagestreams-1.akamaized.net/out/v1/4f16fd0d74ca4bfd93ed043330b0c010/index.m3u8?`curl -s --data region=Melbourne\&network=ABC\&channel_id=101002210221\&token=L\$\#_rR7}K3IaB\&format=html 'https://freeview-fv.global.ssl.fastly.net/288/epgApi/getToken'`

ABC Comedy/ABC Kids NSW

mpv https://abc-iview-mediapackagestreams-1.akamaized.net/out/v1/3f2f0885d12e48c8b46683f31e4fd896/index.m3u8?`curl -s --data region=Melbourne\&network=ABC\&channel_id=101002210222\&token=L\$\#_rR7}K3IaB\&format=html 'https://freeview-fv.global.ssl.fastly.net/288/epgApi/getToken'`

ABC ME

mpv https://abc-iview-mediapackagestreams-2.akamaized.net/out/v1/c2a88b3fcefb4920b6b52134a453ed9c/index.m3u8?`curl -s --data region=Melbourne\&network=ABC\&channel_id=101002210222\&token=L\$\#_rR7}K3IaB\&format=html 'https://freeview-fv.global.ssl.fastly.net/288/epgApi/getToken'`

ABC News24

mpv https://abc-iview-mediapackagestreams-1.akamaized.net/out/v1/6ee5066dcc704c47a663eaf854562e8e/index.m3u8?`curl -s --data region=Melbourne\&network=ABC\&channel_id=101002210221\&token=L\$\#_rR7}K3IaB\&format=html 'https://freeview-fv.global.ssl.fastly.net/288/epgApi/getToken'`

import requests

headers = {
    'Content-Type': 'application/json',
    'User-Agent': 'Dalvik/2.1.0 (Linux; U; Android 5.1.1; SM-J111M Build/LMY47V)',
}

params = {
    ('region', 'Melbourne'),
    ('w', '122'),
    ('q', '60'),
    ('format', 'json'),
}

r = requests.get('https://freeview-fv.global.ssl.fastly.net/288/epgApi/getChannels', headers=headers, params=params).json()
for i in r['channels']:
    print(f"[{i['name']}]({i['stream']})\t{i['stream_type']}")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment