ytrabbit
This package summarizes transcriptions of YouTube videos, with support for multiple languages.
Supported Languages
The following languages are available for summarization:
en
: Englishpt
: Portuguesees
: Spanishfr
: Frenchit
: Italiande
: Germanru
: Russian
How to use
Install the package:
npm install ytrabbit
Example
import { ytrabbitApi } from 'ytrabbit';
const videoURL = 'https://youtu.be/HAotLQQ0Lps?si=IcIim2jpJnJUj1KO';
const language = 'en';
ytrabbitApi(videoURL, language)
.then((results) => {
console.log("transcriptions:");
results.forEach(result => console.log(result));
})
.catch((error) => {
console.error("error:", error.message);
});