caseyfw / nhldl

A shell script for downloading NHL.tv streams.
MIT License
23 stars 4 forks source link

wget: missing URL #2

Closed jaybrueder closed 8 years ago

jaybrueder commented 8 years ago

I noticed this today:

$ ./nhldl.sh "http://hlslive-akc.med2.med.nhl.com/ls04/nhl/2016/04/19/NHL_GAME_VIDEO_LAKSJS_M2_VISIT_20160419/master_wired_web.m3u8" 2500

>>> Fetching master m3u8 file: http://hlslive-akc.med2.med.nhl.com/ls04/nhl/2016/04/19/NHL_GAME_VIDEO_LAKSJS_M2_VISIT_20160419/master_wired_web.m3u8
>>> Done.
>>> Fetching  stream m3u8 file: http://hlslive-akc.med2.med.nhl.com/ls04/nhl/2016/04/19/NHL_GAME_VIDEO_LAKSJS_M2_VISIT_20160419/
>>> Done.
>>> Fetching keys using cookies.txt file.
usage: basename string [suffix]
       basename [-a] [-s suffix] string [...]
wget: missing URL
Usage: wget [OPTION]... [URL]...

Try `wget --help' for more options.
>>> Done.
>>> Concatenating stream.
NHL_GAME_VIDEO_LAKSJS_M2_VISIT_20160419/stream_files.txt: Invalid data found when processing input
>>> Finished.

I tried several different games and bitrates, all have the same result. Up until today everything worked fine for me.

Did NHL.tv change their streaming info?

caseyfw commented 8 years ago

Looks like NHL.tv pushed an update and the servers hosting the stream and video segment files now require the same auth as they keyfile ones. Fortunately @cmaxwe's PR fixes this.

jaybrueder commented 8 years ago

Awesome! :)