New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

yt-caption-extractor

Package Overview
Dependencies
Maintainers
0
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

yt-caption-extractor

Extract YouTube Video captions

  • 0.0.6
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
0
Created
Source

yt-caption-extractor

npm version npm downloads bundle JSDocs License

Extract YouTube Video lyrics and video information.

Usage

npm i yt-caption-extractor
import { getCaptions, getVideoInfo } from 'yt-caption-extractor'

const captions = await getCaptions('SX_ViT4Ra7k')
console.log(captions)

const videoInfo = await getVideoInfo('SX_ViT4Ra7k')
console.log(videoInfo)

Why?

This library is tailor-made for maru.re, designed to extract lyrics and video information from YouTube videos. Initially, I considered using ytdl-core, but due to its large size and lack of ESM support, so I took an afternoon to create this library.

License

MIT License © 2024-PRESENT CofCat

FAQs

Package last updated on 22 Oct 2024

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc