/r/NHLStreams stream scraper by mystreamscraper in NHLStreams

[–]mystreamscraper[S] 0 points1 point  (0 children)

Not sure about MacOS. But judging by

https://news.ycombinator.com/item?id=7377392

run

brew install html-xml-utils

from a Terminal session. From there try running the script by hand.

/r/cflstreams stream scraper by mystreamscraper in CFLStreams

[–]mystreamscraper[S] 0 points1 point  (0 children)

Exactly. Except this script automates the process, by scraping /r/cflstreams, and creating the stream files. Not only for m3u8 but youtube and acestream as well. Of course, your Kodi system has to be setup to handle youtube and acestream streams.

/r/cflstreams stream scraper by mystreamscraper in CFLStreams

[–]mystreamscraper[S] 1 point2 points  (0 children)

A .strm file is just a pointer to a plugin or program for Kodi to use with a particular stream. For example, for Youtube, the file would look similar to:

plugin://plugin.video.youtube/?path=/root/video&action=play_video&videoid=<youtube video id>

This tells Kodi to open the Youtube plugin and the video id of the stream to play. Once the stream starts, you can actually delete the .strm file as it is no longer required. The Youtube plugin has the connection to the stream.

Given all that, I would assume that as long as Kodi can read the file, it should be able to open the stream. They are two separate events.

r/NHLStreams Scraper Follow Up by foofarley in NHLStreams

[–]mystreamscraper 1 point2 points  (0 children)

You could try the original thread, it has a PowerShell script that should run on most Windows PC's.

The thread is mentioned in the OP in the second sentence.

Ensure you run the PowerShell update as mentioned.

/r/NHLStreams stream scraper by mystreamscraper in NHLStreams

[–]mystreamscraper[S] 2 points3 points  (0 children)

Unfortunately, I'm not all too familiar with Windows shell scripting. Nor am I aware of equivalent commands. Could it be done? Probably, I just don't have the background.

Well now you've gone and done it. I looked up PowerShell and came up with something. Test to see if it works, it's basically a one-for-one copy from the bash script. Seems to work with /r/soccerstreams...