Skip to content

Transcribe and stream podcast pages (any yt-dlp-extractable URL)#63

Merged
alexkroman merged 1 commit into
mainfrom
claude/youthful-mendel-okc7mg
Jun 11, 2026
Merged

Transcribe and stream podcast pages (any yt-dlp-extractable URL)#63
alexkroman merged 1 commit into
mainfrom
claude/youthful-mendel-okc7mg

Conversation

@alexkroman

Copy link
Copy Markdown
Collaborator

The YouTube download path was gated on a YouTube-specific URL regex, but
yt-dlp (already a hard dependency) ships dedicated extractors for podcast
hosts (Apple Podcasts, Spreaker, SoundCloud, iHeartRadio, ...). Add
youtube.is_downloadable_url(): YouTube still matches by shape alone (so a
missing yt-dlp keeps its install hint), and any other http(s) URL routes
through the download-first path when a dedicated (non-Generic) extractor
claims it. Direct audio URLs and unknown pages still pass through for the
API to fetch itself.

Wire the new predicate into aai transcribe, aai stream, and
transcribe --show-code (which now generates the yt-dlp download block
for podcast pages too); stream --show-code rejects all downloaded
sources with one message. Update help text, onboarding prompt, README,
and the aai-cli skill docs to advertise podcast-page support.

https://claude.ai/code/session_01RovWF8h4r427GboMXqRoub

The YouTube download path was gated on a YouTube-specific URL regex, but
yt-dlp (already a hard dependency) ships dedicated extractors for podcast
hosts (Apple Podcasts, Spreaker, SoundCloud, iHeartRadio, ...). Add
youtube.is_downloadable_url(): YouTube still matches by shape alone (so a
missing yt-dlp keeps its install hint), and any other http(s) URL routes
through the download-first path when a dedicated (non-Generic) extractor
claims it. Direct audio URLs and unknown pages still pass through for the
API to fetch itself.

Wire the new predicate into `aai transcribe`, `aai stream`, and
`transcribe --show-code` (which now generates the yt-dlp download block
for podcast pages too); `stream --show-code` rejects all downloaded
sources with one message. Update help text, onboarding prompt, README,
and the aai-cli skill docs to advertise podcast-page support.

https://claude.ai/code/session_01RovWF8h4r427GboMXqRoub
@alexkroman alexkroman merged commit 55a5a13 into main Jun 11, 2026
11 checks passed
@alexkroman alexkroman deleted the claude/youthful-mendel-okc7mg branch June 11, 2026 14:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants