Created
May 30, 2013 00:21
-
-
Save mattneary/5674951 to your computer and use it in GitHub Desktop.
Band Video Fetcher
This file contains hidden or 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
var http = require('http'), | |
fs = require('fs'); | |
var req = http.request({ | |
mathod: 'GET', | |
host: 'brightcove03-f.akamaihd.net', | |
path: '/2012rebroadcastHD_dci_live@55848?videoId=2407134469001&lineUpId=&pubId=27638699&playerId=1684416337001&affiliateId=&v=2.11.3&fp=MAC%2011,7,700,203&r=SLZWK&g=RYSHXMKECKNV&seek=251.097', | |
port: '80' | |
}, function(resp) { | |
resp.pipe(fs.createWriteStream(__dirname + '/movie.flv')); | |
}); | |
req.end(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment