SpotScribe: Universal Podcast‑to‑Text Extension (Archived Case Study)
I built a polished Chrome extension that could transcribe any podcast episode until I discovered why nobody else does it: the audio streams are locked behind DRM. The tech worked, but the business case hit a hard wall.
1. Project Snapshot
Service Tags
Key Metrics
- 100% accurate episode metadata scrape
- 0.3× real‑time AI transcription speed
- Blocked by DRM audio access
TL;DR:
I built a polished Chrome extension that could transcribe any podcast episode until I discovered why nobody else does it: the audio streams are locked behind DRM. The tech worked, but the business case hit a hard wall.
2. Problem to Solve
Podcast transcripts are gold for accessibility, SEO, and note‑taking, yet most episodes ship without them. The idea: a one‑click browser button that grabs the audio, sends it to AI (AssemblyAI / Whisper), and spits back a transcript in minutes.
3. Goals & Challenges
| Objective | Challenge |
|---|---|
| One‑click transcription from Spotify, Apple Podcasts, Overcast, etc. | DRM protection: premium platforms encrypt every audio stream. |
| Multi‑platform support in a single extension | Differing DOM structures & SPAs; dynamic routing detection needed. |
| Fast, affordable AI speech‑to‑text | Keep costs < $0.40 / hour of audio. |
| Export options (copy, download, ChatGPT) | Large file handling inside Manifest V3 sandbox. |
4. Solution Architecture
SpotScribe/ ├─ manifest.json (MV3) ├─ content.js # DOM scraper for episode metadata ├─ popup.html/js # User UI + status updates ├─ background.js # Cross‑tab messaging └─ worker-backend/ # Cloudflare Worker → Whisper / AssemblyAI
Cloud Workflow: Content Script ➜ Popup ➜ Cloudflare Worker ➜ AI API ➜ Extension UI
5. Implementation Highlights
1. Smart Episode Detection
MutationObserver watches single‑page navigations; multiple CSS selectors cover Spotify, Apple Podcasts, Overcast, Pocket Casts.
2. Serverless Transcription Pipeline
Cloudflare Worker fetches audio (when public), streams to Whisper / AssemblyAI, websockets progress back to the extension.
3. UX Polish
Real‑time status dots, session resume, export to clipboard / .txt / "Send to ChatGPT" button.
4. Fallback Modes
User could paste an RSS feed or direct MP3 URL when automatic grab failed.
6. The Brick Wall: DRM
- Spotify & Apple: encrypted media extensions (EME) guard every stream.
- No public audio URLs:
audio.srcreturnsblob:links, useless for remote fetch. - Chrome APIs: webRequest can't intercept or decrypt DRM traffic.
- TOS: bulk audio extraction explicitly forbidden.
Result: the extension worked perfectly for public MP3 links and RSS feeds, but flagship platforms were off‑limits.
7. What Did Work
| ✅ | Details |
|---|---|
| Episode metadata scraping | 95% accuracy across major podcast sites. |
| AI transcription pipeline | 0.3× real‑time; $0.36/hr cost via OpenAI Whisper. |
| UX & packaging | 4.8 / 5 internal usability score; 47 KB MV3 bundle. |
| Alternative sources | Seamless transcription for public RSS & user‑uploaded MP3s. |
8. Lessons Learned
1. Validate Core Assumptions First
Fancy UI means nothing if the data source is unreachable.
2. DRM Works
Modern content protection is effective and legally reinforced.
3. APIs Are Business Gates
Technical possibility ≠ platform permission.
4. "Failure" ≠ Waste
I shipped a full MV3 extension, Cloudflare Worker backend, Whisper integration, and gained hands‑on DRM & browser‑security knowledge.
9. Next Steps (If Re‑Imagined)
- Pivot to RSS‑only transcription (open feeds).
- Offer a user‑upload tool for creators needing transcripts.
- Partner directly with podcast hosts for official API access.
- Re‑use the codebase for meeting recordings or YouTube audio (no DRM).
10. Key Takeaways
Research first, build second
Save months of dev time.
Legal & platform constraints
Can be harder than tech challenges.
Document everything
Even a killed project can showcase full‑stack skill and critical thinking.
Curious how to turn dead‑end prototypes into valuable learnings?
Let's chat about scoping, validation, and rapid proof‑of‑concepts.
Let's Collaborate