You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 4da76b8
Browse filesBrowse the repository at this point in the historyBrowse files
Podcast support in the docs and model, and fix the 202 async path
Podcasts: /transcripts/video accepts a Spotify or Apple Podcasts episode
URL or an RSS feed URL and resolves it to that episode's audio, so the
README, JSDoc and keywords now say so. Adds Transcript.podcast (show,
episode, published_at, feed_url, audio_url, resolved_via) and
Transcript.platform, both already on the wire and both previously
dropped on the floor by the normalizer.
202: a source without captions is transcribed from its audio and answers
202 with data.kind "transcript_job" and no text. The SDK ran that through
the transcript normalizer and handed back an empty Transcript with no
sign a job existed. Fixed the way the Python SDK does it, so the two
behave the same: kind relaxed from a literal to a string, data: null
tolerated (obj() already absorbed it), and the envelope's status, job_id
and poll_url lifted onto the model. Additive, so nothing that compiled
before stops compiling.
TranscriptJob now extends Transcript instead of wrapping one, which is
what makes the poll loop a plain `while (t.status === "processing")`
with the same shape coming out of video() and job(). It keeps the extra
error block, since a failed job is still delivered as ok:false at 200.
The README poll loop was compiled against src before being written down.
Co-Authored-By: Claude <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_019ksoEUHvR7DHdNujkGv8UT
Copy file name to clipboardExpand all lines: README.md
+33-1Lines changed: 33 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,7 +2,7 @@
2
2
3
3
The official Node.js / TypeScript client for the [TranscriptFetch API](https://transcriptfetch.com). Fetch transcripts as clean, typed data, with built-in retries, idempotency, and a typed error hierarchy.
4
4
5
-
- Transcripts from **YouTube, TikTok, Instagram, and direct media file URLs**
5
+
- Transcripts from **YouTube, TikTok, Instagram, podcasts, and direct media file URLs**
0 commit comments