badlogic/pi-skills

youtube-transcript

Fetch transcripts from YouTube videos for summarization and analysis.

查看源码
仓库原始内容

按源仓库内容呈现,保留标题、案例、代码、表格、链接以及原文引用的演示图片。

YouTube Transcript

Fetch transcripts from YouTube videos.

Setup

bash
cd {baseDir}
npm install

Usage

bash
{baseDir}/transcript.js <video-id-or-url>

Accepts video ID or full URL:

  • EBw7gsDPAYQ
  • https://www.youtube.com/watch?v=EBw7gsDPAYQ
  • https://youtu.be/EBw7gsDPAYQ

Output

Timestamped transcript entries:

[0:00] All right. So, I got this UniFi Theta
[0:15] I took the camera out, painted it
[1:23] And here's the final result

Notes

  • Requires the video to have captions/transcripts available
  • Works with auto-generated and manual transcripts
来自同一仓库

更多 Skills

全部 Skills