Skip to content

yt.py: YouTube videos as citable documents (prototype) - #12

Merged
m4bwav merged 6 commits into
mainfrom
youtube-extractor
Nov 18, 2026
Merged

m4bwav merged 6 commits into
mainfrom
youtube-extractor

Conversation

@m4bwav

@m4bwav m4bwav commented Nov 18, 2026

Copy link
Copy Markdown
Owner

Prototype extractor from the YouTube-mining study (plugin-backlog/ai-docs/youtube-mining/research.md).

  • yt.py read URL --route ytdlp: title, description links, chapters, transcript grouped by chapter with a &t= link per paragraph. Measured: 18:40 video in 4 s, ~23 KB markdown.
  • yt.py clip URL START-END "question": Gemini YouTube URL input on a clip, for on-screen content.
  • Transcripts are opt-in because yt-dlp breaches YouTube's terms on automated access; the route decision waits on the owner.
  • Offline tests in tests/test_yt.py (synthetic json3).

Not done yet: SKILL.md wording (the "not for YouTube" line), evals, version bump.

@m4bwav m4bwav self-assigned this Nov 18, 2026
@m4bwav
m4bwav marked this pull request as ready for review November 18, 2026 02:06
@m4bwav
m4bwav merged commit da67a8c into main Nov 18, 2026
7 checks passed
@m4bwav
m4bwav deleted the youtube-extractor branch November 18, 2026 02:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant