Skip to content

m16a1/youtube-js

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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');
		}
	});
	
});

About

WARNING: this repo is not maintained anymore

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published