tubor
TypeScript icon, indicating that this package has built-in type declarations

0.0.15 • Public • Published

▶️ Tubor

Tubor allows you to get transcripts for a given YouTube video. Turbo works with both video Id and simply the youtube url.

Install

npm install tubor

or

yarn add tubor

Usage

Fetch transcripts from video ID

import { getYoutubeTranscript } from 'tubor';
import { TranscriptResponse } from 'tubot/models';

const transcripts: TranscriptResponse = await getYoutubeTranscript('-a6E-r8W2Bs');

Fetch transcripts from youtube url

const transcripts: TranscriptResponse = await getYoutubeTranscript('https://youtu.be/3XxiKcD-pMU?si=XmLLj5NqJAg4eIaJ');

Readme

Keywords

none

Package Sidebar

Install

npm i tubor

Weekly Downloads

30

Version

0.0.15

License

MIT

Unpacked Size

17.8 kB

Total Files

14

Last publish

Collaborators

  • hammerfromtown
  • neethan