youtube-js

0.1.1 • Public • Published

Requirements

  • compress
  • sync

Installation

npm install youtube-js

Example

var yt = require('youtube-js');

yt.getInfo('http://www.youtube.com/watch?v=F6k8lTrAE2g', function(info) {
	info.download('/tmp/' + info.author + ' - ' + info.title, {
		fmt: '5',
		onData: function (len, size) {
		    console.log('downloaded ' + len + ' bytes from ' + size);
		},

		onComplete: function (file) {
		    console.log('download complete');
		}
	});
	
});

Readme

Keywords

none

Package Sidebar

Install

npm i youtube-js

Weekly Downloads

0

Version

0.1.1

License

none

Last publish

Collaborators

  • m16a1