nhldl
nhldl copied to clipboard
Getting Failed error
I have the cookies file in the same directory as I am running the script. I run it and I get:
Fetching master m3u8 file: http://md-akc.med.nhl.com/hls/nhl/2019/01/11/676675c3-888c-4fd3-a599-6ce635c5660d/1547172284723/master_wired.m3u8 Done. Fetching 3500K stream m3u8 file: http://md-akc.med.nhl.com/hls/nhl/2019/01/11/676675c3-888c-4fd3-a599-6ce635c5660d/1547172284723/ Failed
Is there a log file somewhere I could look at to see why I am getting the error?
Hi, I have kind of the same issue but the "failed" message arrives even sooner in my case.
Is this script working for anyone? I could use some help :). I feel like it is coming from the new m3U8 URL format but I am far from a developer...
Sorry, only just noticed this. I can't reproduce the issue - it works fine for me.
To get full script output, but a #
in front of the VERBOSITY
variable at the start of the script, like this:

Here's everything I do to get a game to download:
- Go to nhl.tv in Chrome and pick a game to watch. Before it starts playing, I open the web inspector, open the network tab and put
m3u8
in the filter field, like this:

- Then I click on the master m3u8 file once it appears in the list, and copy the request url for later:

- I use a Chrome plugin called cookies.txt which shows the cookies for the site you're on in curl cookie jar format. I click the cookies.txt icon in the top right corner of Chrome and copy the
Authorization
andmediaAuth_v2
cookie lines, like this:

- Then I paste them into a file called cookies.txt in the same directory as the nhldl.sh script:

- Now I can run the script, making sure to quote the master m3u8 url if it has any weird characters:

- With my horrible internet, it takes forever, but at the end of it you get a complete, ad-free stream video.
I would however suggest checking out these other significantly more user friendly projects for downloading NHL streams:
- https://github.com/kompot/nhl-tv-geeky-streams
- https://github.com/cmaxwe/dl-nhltv
- Or Kodi with the NHL TV plugin
All are better solutions than the janky script I wrote years ago :D
Thank you very much for your kind answer. I seem to do everything allright but unfortunately it does not work. But thanks for the other scripts, I tried nhltv geeky streams and it works! Thanks again