1.0.0 • Published 3 years ago

youtube-comments-scraper v1.0.0

Weekly downloads
4
License
ISC
Repository
-
Last release
3 years ago

Youtube-Comments-Scraper is a nodejs package to fetch comments of youtube video automatically. It currently runs only on windows.

Installation

npm install youtube-comments-scraper

Example

In this example we first import package, then we get the comments of video.

var youtube=require("youtube-comments-scraper");

function get_data(response){
	var data=response["body"]
}
function fetch_comments(){
	youtube.video_comments(get_data)
}
function scroll(){
	youtube.keypress("pagedown",fetch_comments)
}

youtube.open("video url",scroll)

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-comments-scraper");

Get comments

youtube.video_comments()

Contact Us