Study with YouTube is not a search engine. It's a structured knowledge graph of curated lecture courses โ built offline with AI, served in milliseconds at search time.
Every video in the index is a structured JSON object. Here's a real example from the UCF Computer Vision course:
For each of 1,200+ topics โ from HOG to Dynamic Programming to Kirchhoff's Laws โ the YouTube Data API v3 enumerates every video in the best-matched course playlist. This is offline RAG: instead of querying a vector store at runtime, we pre-index each video's position, topics, and playlist context into a structured retrieval layer. Search is then deterministic scoring โ sub-10ms per query, zero LLM calls at runtime.
Titles are often misleading. "Lecture 7: Q&A (Part 1)" could cover CNN, AlexNet, or anything discussed that session. The SerpAPI transcript API fetches the spoken content, then:
Queries go through multi-layer scoring โ no vector embeddings needed at this scale:
YouTube has no concept of "9.3 comes after 9.2." We build that graph. Each video title is parsed: Lecture 9.3 โ sort key 9003. For channels without lecture numbers (Karpathy, StatQuest, 3Blue1Brown), the YouTube Data API returns correct playlist positions(0, 1, 2, 3...) which we store and use directly. Q&A videos are excluded from prev/next even if they're in the same week.
Built by Jai Goyal ยท Try it โ