1.1.4 • Published 9 months ago

ytrabbit v1.1.4

Weekly downloads
-
License
MIT
Repository
github
Last release
9 months ago

ytrabbit

This package summarizes transcriptions of YouTube videos, with support for multiple languages.

Supported Languages

The following languages are available for summarization:

  • en: English
  • pt: Portuguese
  • es: Spanish
  • fr: French
  • it: Italian
  • de: German
  • ru: 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);
  });