1.4.7 • Published 4 months ago

babytube v1.4.7

Weekly downloads
-
License
MIT
Repository
github
Last release
4 months ago

babytube

NPM Version Npm package yearly downloads

babytube is a pytube based library to get data from a given youtube video, download it or just the audio.

necessary

you need python3 and (obviously) nodejs installed on your machine.

installation

npm install babytube

examples

to get data from a video like description, title, duration, thumbnail and stuff like that use the getData method.

const babytube = require("babytube")

babytube.getData('https://www.youtube.com/watch?v=VIDEO_ID').then((data) => {
    console.log(data); 
})

to download some music use the musicDownload method.

const babytube = require("babytube")

babytube.musicDownload('https://www.youtube.com/watch?v=VIDEO_ID', 'FILENAME.mp3').on('finish', () => {
    console.log("completed download.")
})

or to download the video

const babytube = require("babytube")

babytube.videoDownload('https://www.youtube.com/watch?v=VIDEO_ID', 'FILENAME.mp4').on('finish', () => {
    console.log("completed download.")
})
1.4.7

4 months ago

1.4.6

12 months ago

1.4.5

12 months ago

1.4.0

12 months ago

1.3.5

12 months ago

1.3.1

12 months ago

1.3.0

12 months ago

1.2.0

12 months ago

1.1.10

12 months ago

1.1.5

12 months ago

1.1.1

12 months ago

1.1.0

12 months ago

1.0.5

12 months ago

1.0.0

12 months ago