youtube-channel-videos-scraper
v1.0.0
Published
A nodejs package to scrape channel videos data of youtube automatically.
Downloads
1
Maintainers
Readme
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");
Open channel link
youtube.open("channel link")
Get Channel Videos Data
youtube.channel_videos()