msj121 / ytgetcaption

This is a data scraping tool that extracts video_info from youtube using axios for any videoID and return parsed caption data for the ASR (automatic speech recognition) data as a JSON object.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Packages Dependency

Axios xml2js

Description

This is a data scraping tool that extracts video_info from youtube using axios for any videoID and return parsed caption data for the ASR (automatic speech recognition) data as a JSON object.

Installation

npm i ytgetcaption

How to use

caption = require('ytgetcaption');

caption.ytgetCaption(VideoID).then(function (data) {
    console.log(data)
});

Github

https://github.com/costargc/ytgetcaption.git

About

This is a data scraping tool that extracts video_info from youtube using axios for any videoID and return parsed caption data for the ASR (automatic speech recognition) data as a JSON object.


Languages

Language:JavaScript 100.0%