usetube-improved

1.2.0 • Public • Published

usetube-improved

Production-ready integrated with the most used scrapper scrapper-api so you can scrape YouTube data without any issues of getting blocked.

image info

providers

scraperapi = https://www.scraperapi.com (SOON) ScrapeBee = https://www.scrapingbee.com/

install

npm install usetube-improved

Working example

const usetube = require('usetube-improved');

const data = await usetube.searchVideo('hello world', 'api-key-123');

console.log(data);

Usage

// Example
await searchVideo(terms, api_key, token)
await searchVideo('awesome cats', 'cool-api-123')

// Example
await searchChannel(terms, api_key, token)
await searchChannel('FinanceChannel123', 'cool-api-123')

// Example
await getChannelVideos(channel_id, api_key, published_after)
await getChannelVideos('UCkHja3RPRoq3e_YNp1IEyEA', 'cool-api-123', new Date())

// Example
await getPlaylistVideos(playlist_id, api_key)
await getPlaylistVideos('RDQMgEzdN5RuCXE', 'cool-api-123')

// Example
await getChannelDesc(channel_id, api_key)
await getChannelDesc('UCkHja3RPRoq3e_YNp1IEyEA', 'cool-api-123')

// Example
await getVideoDesc(video_id, api_key)
await getVideoDesc('a9xHJjMxQ8', 'cool-api-123')

// Example
await getVideoDate(video_id, api_key)
await getVideoDate('a9xHJjMxQ8', 'cool-api-123')

// Example
await getVideosFromDesc(video_id, api_key)
await getVideosFromDesc('a9xHJjMxQ8', 'cool-api-123')

Dependents (0)

Package Sidebar

Install

npm i usetube-improved

Weekly Downloads

2

Version

1.2.0

License

AGPL-3.0-or-later

Unpacked Size

15.6 kB

Total Files

3

Last publish

Collaborators

  • freddyj