getscript
A fast, Unix-friendly CLI for fetching transcripts from Apple Podcasts. You don't need to transcribe much of anything nowadays because Apple is transcribing everything for us. 'getscript' lets you use the transcripts in a more human / text friendly manner. The idea behind getscript is to put the transcripts to use in a meaningful way.
For example - let's say you're curious about AI Slop as a podcast topic:
$ getscript --search "AI Slop" --list <removing list of 10 podcasts and their podcast id's> $ getscript 1000730374732 | claude -p "Summarize the top 5 Points"
Of course you can also export to TTML, JSON, markdown and run from cron if you want to schedule things.
Install
pip install getscript
Or via Homebrew:
brew install outerbanks73/tap/getscript
Requires Python 3.10+. Apple Podcasts transcripts require macOS 15.5+ with Xcode CLI tools.
Quick Start
# Fetch from an episode URL
getscript "https://podcasts.apple.com/us/podcast/the-daily/id1200361736?i=1000753754819"
# Fetch from a bare episode ID
getscript 1000753754819
# Raw TTML XML output
getscript 1000753754819 --ttml
# Search Apple Podcasts interactively (requires fzf)
getscript --search "artificial intelligence"
Output Formats
Output formats are mutually exclusive (--json, --ttml, --markdown). The --timestamps flag can be combined with any format.
# JSON piped to jq
getscript EPISODE_ID --json | jq '.segments[].text'
# Markdown with timestamps
getscript EPISODE_ID --markdown --timestamps > notes.md
# Write to file
getscript EPISODE_ID -o transcript.txt
Search
# Search Apple Podcasts (requires fzf)
getscript --search "climate change"
# List results without fzf
getscript --search "topic" --list --limit 20
Stdin & Batch Processing
# Read episode ID from stdin
echo "1000753754819" | getscript -
# Batch process a list of IDs
cat ids.txt | xargs -n1 getscript --no-upload --quiet
# Disable upload via environment variable
GETSCRIPT_UPLOAD=0 getscript EPISODE_ID
# Silent file output for scripting
getscript EPISODE_ID --quiet --no-upload -o out.txt
Shared Transcript Library
Fetched transcripts are automatically submitted to voxlytranscribes.com for indexing and enrichment. To disable:
getscript EPISODE_ID --no-upload
GETSCRIPT_UPLOAD=0 getscript EPISODE_ID
Shell Completions
getscript --completions bash >> ~/.bashrc
getscript --completions zsh >> ~/.zshrc
getscript --completions fish > ~/.config/fish/completions/getscript.fish
Configuration
Config file: ~/.config/getscript/config.json
| Key | Type | Default | Description |
|---|---|---|---|
output_format |
string | text |
Default format: text, json, markdown, ttml |
timestamps |
bool | false |
Include timestamps in text output |
search_limit |
int | 10 |
Number of search results |
no_upload |
bool | false |
Disable shared library submissions |
quiet |
bool | false |
Suppress progress and upload status messages |
Environment variables:
| Variable | Description |
|---|---|
GETSCRIPT_UPLOAD |
Set to 0 to disable submissions |
NO_COLOR |
Disable colored output |
Precedence: config file < environment variables < CLI flags.
See examples/config.example.md for a full annotated reference.
How It Works
Compiles a small Obj-C helper that calls Apple's private AMSMescal framework (FairPlay DRM) to generate a bearer token. That token authenticates requests to the AMP API, which returns TTML transcripts. The token is cached at ~/.cache/getscript/apple_token for 30 days. This is the only open-source tool that can fetch Apple Podcasts transcripts programmatically.
Shared Transcript Library
Every fetch contributes to the shared library at voxlytranscribes.com. Submissions go through a quarantine pipeline: server-side re-fetch, content hash verification, and provenance tracking before promotion to the canonical library. See the technical docs for details.
Exit Codes
| Code | Meaning |
|---|---|
0 |
Success |
1 |
Runtime error (network, auth, missing transcript) |
2 |
Usage error (bad arguments, unrecognized URL) |
130 |
Interrupted (Ctrl-C) |
Testing
87 tests across 9 modules. CI matrix: Python 3.10–3.13 on Ubuntu and macOS.
pytest -v
Contributing
See CONTRIBUTING.md.
Changelog
See CHANGELOG.md.
License
MIT
Metadata
Release files for getscript 0.15.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| getscript-0.15.0.tar.gz | 25.3 kB | With provenance | Details for getscript-0.15.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| getscript-0.15.0-py3-none-any.whl | Python 3 | none | any | Details for getscript-0.15.0-py3-none-any.whl |
Total release size: 45.9 kB
Release files / getscript-0.15.0.tar.gz
| Download URL | getscript-0.15.0.tar.gz |
|---|---|
| Size | 25.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
7b8c61bc5a21a856ccd55772670f80b283322668f0e08ebfcceb70ac7946ee9b
|
|
BLAKE2b-256 checksum How to use checksums |
bd9b07c124963d577f9c1c942d394c88690c71994013c0a9bc598764e8daa4f3
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Mar 25, 2026.
Transparency logRelease files / getscript-0.15.0-py3-none-any.whl
| Download URL | getscript-0.15.0-py3-none-any.whl |
|---|---|
| Size | 20.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
bc8a3d926292bbe02fc5b80b306947a43182e8fb3db406e73d99fc157b93bdc1
|
|
BLAKE2b-256 checksum How to use checksums |
bc398f79b3a992f6ddfe4af1281a41520b4a25bb216db1ba84d89a0bda112a8f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Mar 25, 2026.
Transparency logSecurity for getscript 0.15.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
Full provenance
Both files in this release have been uploaded with provenance metadata.
Attestation for getscript-0.15.0.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Mar 25, 2026.
Transparency logA note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.