Skip to content

Instantly share code, notes, and snippets.

@benlk
Created December 3, 2015 22:47
Show Gist options
  • Star 2 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save benlk/aee1b3fe393a79f8e160 to your computer and use it in GitHub Desktop.
Save benlk/aee1b3fe393a79f8e160 to your computer and use it in GitHub Desktop.
Watching NASA Public Television without Flash
  1. Download NASA-public.m3u8 by clicking on 'Raw', then using your web browser's File->Save or Ctrl/Command-S function.
  2. Open VLC. Navigate to where you saved NASA-public.m3u8 and open it.
  3. ???
  4. SPACE
#EXTM3U
#EXT-X-STREAM-INF:PROGRAM-ID=1,BANDWIDTH=563000,RESOLUTION=1280x720,CODECS="avc1.77.30, mp4a.40.2"
http://nasatv-lh.akamaihd.net/i/NASA_101@319270/index_400_av-p.m3u8?sd=10&rebase=on
#EXT-X-STREAM-INF:PROGRAM-ID=1,BANDWIDTH=432000,RESOLUTION=428x240,CODECS="avc1.640029, mp4a.40.2"
http://nasatv-lh.akamaihd.net/i/NASA_101@319270/index_400_av-b.m3u8?sd=10&rebase=on
#EXT-X-STREAM-INF:PROGRAM-ID=1,BANDWIDTH=827000,RESOLUTION=1280x720,CODECS="avc1.77.30, mp4a.40.2"
http://nasatv-lh.akamaihd.net/i/NASA_101@319270/index_700_av-p.m3u8?sd=10&rebase=on
#EXT-X-STREAM-INF:PROGRAM-ID=1,BANDWIDTH=732000,RESOLUTION=428x240,CODECS="avc1.640029, mp4a.40.2"
http://nasatv-lh.akamaihd.net/i/NASA_101@319270/index_700_av-b.m3u8?sd=10&rebase=on
#EXT-X-STREAM-INF:PROGRAM-ID=1,BANDWIDTH=2128000,RESOLUTION=1280x720,CODECS="avc1.77.30, mp4a.40.2"
http://nasatv-lh.akamaihd.net/i/NASA_101@319270/index_1000_av-p.m3u8?sd=10&rebase=on
#EXT-X-STREAM-INF:PROGRAM-ID=1,BANDWIDTH=2064000,RESOLUTION=1280x720,CODECS="avc1.640029, mp4a.40.2"
http://nasatv-lh.akamaihd.net/i/NASA_101@319270/index_1000_av-b.m3u8?sd=10&rebase=on
@benlk
Copy link
Author

benlk commented Nov 26, 2018

iirc this was originally sourced from https://nasa-i.akamaihd.net/hls/live/253565/NASA-NTV1-Public/master.m3u8 which was found by examining the source code of https://www.nasa.gov/multimedia/nasatv/. It's returning a 403 error now.

@kodiaqkodiaq
Copy link

kodiaqkodiaq commented Dec 22, 2018

You need to pass following cookie header to VLC to make it work: 'Referer: https://www.nasa.gov/multimedia/nasatv/' . User agent is currently not relevant.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment