quickyt
This package transcribes and summarizes YouTube videos using GPT-3.
How to use
Install the package:
npm i quickyt
Available Languages
The following languages are supported for summarization:
- en: English
- pt: Portuguese
- es: Spanish
- fr: French
- de: German
- it: Italian
- nl: Dutch
- ru: Russian
Example
import { summarizeVideo } from 'quickyt';
const videoUrl = 'https://youtu.be/EG7Ey3VLP3M?si=fshmOzAMt5KRkiVI';
const lang = 'en';
(async () => {
try {
const summary = await summarizeVideo({ videoUrl, lang });
console.log('Corrected summary:', summary);
} catch (error) {
console.error(error.message);
}
})();