Skip to content

kdh6429/youtube-meta-parser

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

youtube-meta-parser

A module to extract meta information from YouTube page. This is not required any google api but extract the data from youtube view page.

Install

npm install youtube-meta-parser

Usage

var parser = require('youtube-meta-parser');
parser.getMetadata("ZI4tRn4dOGg").then( function(metadata) {
        console.log(metadata['videoDetails']['title']);
        console.log(metadata['videoDetails']['lengthSeconds']);
        console.log(metadata['videoDetails']['viewCount']);
        console.log(metadata['videoDetails']['averageRating']);
        console.log(metadata['videoDetails']['author']);
    }
)

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published