3.1.5 • Published 10 months ago

@neoxr/youtube-scraper v3.1.5

Weekly downloads
-
License
MIT
Repository
-
Last release
10 months ago

Youtube Scraper

Simple youtube scraper with fast download

How to use ??

const { Youtube } = require('@neoxr/youtube-scraper')
const yt = new Youtube({
   fileAsUrl: false
})

// download audio (only 128kbps)
yt.fetch('https://youtu.be/rzk4mUgDjC8?si=U9L8ev0FAjYxPF9H').then(console.log)

// download video
yt.fetch('https://youtu.be/rzk4mUgDjC8?si=U9L8ev0FAjYxPF9H', 'video', '480p').then(console.log)

// download audio by query (only 128kbps)
yt.play('wide awake').then(console.log)

// download video by query
yt.play('wide awake', 'video', '480p').then(console.log)

Example with Proxy

This library maybe works on a few servers, recomend to use Singapure or Indonesia Proxy

const { Youtube } = require('@neoxr/youtube-scraper')
const yt = new Youtube({
   fileAsUrl: false,
   proxy: {
      host: '1.2.3.4',
      port: 8080
   }
})
3.1.3

10 months ago

3.0.2

10 months ago

3.1.5

10 months ago

3.1.4

10 months ago

3.0.1

10 months ago

3.0.0

11 months ago

2.2.3

11 months ago

2.2.1

1 year ago

2.2.2

1 year ago

2.1.1

1 year ago

2.1.0

1 year ago

2.0.0

1 year ago

1.1.3

1 year ago

1.1.2

1 year ago

1.1.1

1 year ago

1.0.0

1 year ago