1.1.4 • Published 1 year ago
ytrabbit v1.1.4
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 ytrabbitExample
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);
});