npm.io
1.0.0 • Published 5 years ago

youtube-channel-videos-scraper

Licence
ISC
Version
1.0.0
Deps
1
Size
2 kB
Vulns
0
Weekly
0

youtube-channel-videos-scraper is a nodejs package to to scrap youtube channel videos data using browser automation. It currently runs only on windows.

Installation

npm install youtube-channel-videos-scraper

Example

In this example we first import package, then we fetch the channel videos data.

var youtube=require("youtube-channel-videos-scraper");

function get_data(response){
	var data=response["body"]
}
function fetch_data(){
	youtube.channel_videos(get_data)
}
function fetch_data(response){
	youtube.search_results(get_data)
}
youtube.open("channel link",fetch_data)
DataKund

datakund is needed for browser automation. As soon as this package is imported in code, automated browser will open up.

Import
var youtube=require("youtube-channel-videos-scraper");
youtube.open("channel link")
Get Channel Videos Data
youtube.channel_videos()
Contact Us

Keywords