Last active
January 28, 2020 03:41
-
-
Save devinmcinnis/8380360 to your computer and use it in GitHub Desktop.
NFL VLC Streams Links
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(function () { | |
var teamName = "seahawks"; // Change this based on home team's name (post-season) | |
var i = 1; | |
var getStream = setInterval(function () { | |
var streamURL = 'http://nlds' + i + '.cdnak.neulion.com/nlds/nfl/' + teamName + '/as/live/' + teamName + '_hd_800.m3u8'; | |
$.ajax({ | |
dataType: 'jsonp', | |
url: streamURL, | |
data: { | |
callback: '?' | |
}, | |
complete: function (data, status) { | |
if (status === 'parsererror') { | |
clearInterval(getStream); | |
console.log(streamURL); | |
} | |
} | |
}); | |
i++; | |
}, 200); | |
})(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Oh man, I must have turned off my gist emails. I haven't tried it this year and, by the sounds of it, it doesn't work anymore. Sorry to disappoint.