Skip to content

Instantly share code, notes, and snippets.

@mattneary
Created May 30, 2013 00:21
Show Gist options
  • Save mattneary/5674951 to your computer and use it in GitHub Desktop.
Save mattneary/5674951 to your computer and use it in GitHub Desktop.
Band Video Fetcher
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