youtube-comment-liker is a nodejs package to like a comment of video on youtube automatically. It currently runs only on windows.
Installation
npm install youtube-comment-liker
Example
In this example we first import package, then we login with cookies and like comment automatically.
var youtube=require("youtube-comment-liker");
function likecomment(){
youtube.like_comment('comment text')
}
function scroll(){
youtube.keypress("pagedown",likecomment)
}
function open_video(){
youtube.open('video link',scroll)
}
youtube.login_cookie(cookie_list,open_video)
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-comment-liker");
Login with credentials
youtube.login(username,password)
Login with cookies
youtube.login_cookie(list_of_cookies)
Like comment
youtube.like_comment('comment text')
Cookies
To login with cookies Edit this Cookie Extension can be added to browser