Podcast Downloader logo

Podcast Downloader

Community
crazynomad
podcast-downloader

Download podcast episodes from Apple Podcasts using iTunes API with RSS fallback

Overview

Publishercrazynomad
Repositoryskills
Skill namepodcast-downloader
Stars
27
Forks
8
Bundled files
4
LicenseMIT
Links
  • Markdown instructions

    A SKILL.md file the model loads on demand, so it only costs tokens when a request actually matches.

  • Works with any LLM

    AI skills are plain Markdown, not provider-specific code, so this works with GPT, Claude, Gemini, Grok, or a local model.

  • 4 bundled files

    Scripts, templates, and references the model can read while it works. Files are read-only and never executed.

  • Open source

    Published by crazynomad on GitHub. Read the source before you install it.

Installation

Install the Podcast Downloader AI skill in TypingMind to use it with any LLM, or drop it into another agent that reads SKILL.md.

1

Install in TypingMind

TypingMind installs a skill straight from its GitHub folder — it reads SKILL.md, bundles the resource files, and stores the result locally.

  1. Open the app and go to Plugins → Skills.
  2. Choose "Install from GitHub".
  3. Paste the skill folder URL below and confirm.
    https://github.com/crazynomad/skills/tree/master/podcast-downloader
  4. Enable the skill in any chat where you want it available.
Plugins → Skills → Add skill → From GitHub URL, then paste the folder URL and press Continue.
2

Install in another agent

Any agent that reads the Agent Skills format can use this skill — copy the folder into that agent's skills directory.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/crazynomad/skills.git /tmp/skills
mkdir -p .claude/skills
cp -r /tmp/skills/podcast-downloader .claude/skills/podcast-downloader
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Podcast Downloader in any TypingMind chat and the model takes it from there. Its name and description sit in the system prompt, and the moment a request matches, the model loads the full instructions itself — you never invoke it by hand, and it costs no tokens until it is actually used.

The model loads Podcast Downloader on its own as soon as a request matches it.

Works with any AI model

AI skills are plain Markdown instructions rather than provider-specific code, so Podcast Downloader is not tied to the model it was written for. Install it once in TypingMind and use it with GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama, or a local model you run yourself — all on your own API keys.

  • Loaded only when it is needed

    The system prompt carries just the name and description. The instructions are fetched on the first matching request, so an idle skill costs nothing.

  • Switch models mid-chat

    Because the skill is instructions rather than code, changing model does not break it — the next model reads the same SKILL.md.

Skill instructions

This is the SKILL.md content the model loads. Read it before installing — a skill is instructions your model will follow.

Apple Podcast Downloader (API Enhanced)

Download podcast episodes from Apple Podcasts using iTunes API with RSS fallback.

Description

Enhanced podcast downloader that prioritizes iTunes API for faster, more reliable downloads compared to traditional RSS parsing. Automatically detects region codes (cn/us/jp), supports multiple fallback methods, and includes rich metadata extraction.

When to Use

Use this skill when users:

  • Provide Apple Podcast URLs and want to download episodes
  • Mention "download podcast", "下载播客", "get podcast audio"
  • Want to save podcast episodes locally
  • Need podcast metadata (title, date, duration, description)

Features

  • iTunes API Priority: 3-5x faster than RSS parsing
  • Smart Region Detection: Auto-extracts country code from URL
  • Multiple Fallback Methods:
    1. Direct API query (fastest)
    2. List search (fast)
    3. RSS feed parsing (reliable fallback)
  • Rich Metadata: Saves episode info, release date, duration, description
  • User-Agent Support: Resolves 403 errors
  • Progress Display: Real-time download progress with MB/percentage

Usage

Basic Syntax

bash
python scripts/download_podcast.py "APPLE_PODCAST_URL" [-n COUNT] [-o OUTPUT_DIR]

Common Scenarios

Download specific episode (URL with ?i= parameter):

bash
python scripts/download_podcast.py "https://podcasts.apple.com/cn/podcast/id1711052890?i=1000744375610"

Download latest N episodes:

bash
python scripts/download_podcast.py "https://podcasts.apple.com/cn/podcast/id1711052890" -n 5

Download all available episodes (up to 200):

bash
python scripts/download_podcast.py "https://podcasts.apple.com/us/podcast/id123456789"

Specify output directory:

bash
python scripts/download_podcast.py "URL" -n 10 -o /mnt/user-data/outputs

Arguments

  • url (required): Apple Podcast URL
  • -n, --count: Number of latest episodes to download (default: all available)
  • -o, --output: Output directory (default: current directory)

Dependencies

bash
pip install requests feedparser --break-system-packages

Output Structure

PodcastName/
├── podcast_info.json          # Podcast metadata
├── 001 - Episode Title.m4a    # Audio file
├── 001 - Episode Title.json   # Episode metadata
├── 002 - Episode Title.m4a
└── ...

Metadata Examples

podcast_info.json:

json
{
  "podcast_name": "Podcast Name",
  "artist": "Author Name",
  "country": "cn",
  "total_episodes": 272,
  "download_date": "2026-01-13T14:30:00"
}

Episode metadata:

json
{
  "title": "Episode Title",
  "release_date": "2025-01-10",
  "duration_minutes": 40,
  "description": "Episode description...",
  "audio_file": "001 - Episode Title.m4a"
}

Claude Integration

When user requests podcast download:

  1. Read skill documentation:

    python
    view("/mnt/skills/user/podcast-downloader-v2/SKILL.md")
  2. Install dependencies (if needed):

    bash
    pip install requests feedparser --break-system-packages
  3. Execute download:

    bash
    python /mnt/skills/user/podcast-downloader-v2/scripts/download_podcast.py \
      "USER_URL" -n COUNT -o /mnt/user-data/outputs
  4. Present files to user:

    python
    present_files(["/mnt/user-data/outputs/PodcastName/..."])

How It Works

Workflow

  1. URL Parsing: Extract podcast ID, episode ID (if present), region code
  2. Data Retrieval (priority order):
    • Method A: Direct API query for specific episode (fastest)
    • Method B: Fetch episode list and search (fast)
    • Method C: Parse RSS feed (fallback)
  3. Download: Stream audio with progress display, save metadata

API Endpoints

  • Query episode: https://itunes.apple.com/lookup?id={episode_id}&entity=podcastEpisode&country={country}
  • Query list: https://itunes.apple.com/lookup?id={podcast_id}&entity=podcastEpisode&country={country}&limit=200
  • Get RSS: https://itunes.apple.com/lookup?id={podcast_id}&country={country}&entity=podcast

Limitations

  • iTunes API limit: 200 episodes maximum per request
  • Only supports Apple Podcasts (not Spotify, Google Podcasts, etc.)
  • Requires internet connection
  • Audio format depends on podcast source (usually .m4a or .mp3)

Common Issues

Q: Can't find old episodes?
A: iTunes API returns max 200 recent episodes. Script automatically falls back to RSS for older content.

Q: Getting 403 errors?
A: User-Agent headers are included to prevent most 403 errors. If persists, may be source restriction.

Q: Which regions are supported?
A: All Apple Podcasts regions (cn, us, jp, uk, etc.). Auto-detected from URL.

Example Conversation

User: "帮我下载这个播客的最新 3 集: https://podcasts.apple.com/cn/podcast/id1711052890"

Claude:

bash
# View skill
view("/mnt/skills/user/podcast-downloader-v2/SKILL.md")

# Install dependencies
pip install requests feedparser --break-system-packages

# Download
python /mnt/skills/user/podcast-downloader-v2/scripts/download_podcast.py \
  "https://podcasts.apple.com/cn/podcast/id1711052890" \
  -n 3 \
  -o /mnt/user-data/outputs

# Present files
present_files([...])

Version History

v2.0 (Current)

  • iTunes API as primary data source
  • Auto region detection
  • Multiple fallback methods
  • User-Agent support for 403 prevention
  • Rich metadata saving
  • Improved progress display

v1.0 (Original)

  • RSS feed parsing
  • Basic download functionality

References

See /references/ directory for:

  • usage_guide.md: Detailed usage instructions and examples
  • technical_details.md: In-depth technical documentation
  • api_reference.md: iTunes API documentation

License

Personal use tool. Please respect Apple Podcasts terms of service. For personal listening and learning only.

Bundled files

The model reads these on demand while the skill is loaded. They are exposed as readable files and are never executed.

Frequently asked questions

What does the Podcast Downloader AI skill do?

Download podcast episodes from Apple Podcasts using iTunes API with RSS fallback

Why use Podcast Downloader on TypingMind?

Because you install it once and use it with any model. Podcast Downloader is plain Markdown rather than provider-specific code, so the same skill runs on GPT-5, Claude, Gemini, Grok, or a local model — and you can switch model mid-chat without it breaking. TypingMind runs on your own API keys, so you pay providers directly instead of a per-seat subscription, and your skills and chats stay in your own storage.

How do I install Podcast Downloader in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/crazynomad/skills/tree/master/podcast-downloader. TypingMind reads its SKILL.md and bundles its files and installs it as a skill you can enable per chat.

Which AI models can use Podcast Downloader?

Any model you connect in TypingMind. AI skills are plain Markdown instructions rather than provider-specific code, so GPT, Claude, Gemini, Grok, and local models can all load this skill when a request matches it.

How many AI models can I use with Podcast Downloader?

As many as you like. As long as a model supports skills, you can use Podcast Downloader with it — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama and more — all on TypingMind with your own API keys.

Is the Podcast Downloader AI skill free?

Yes. It is published on GitHub by crazynomad under the MIT license. You only pay your own AI provider for the tokens you use.

What are AI skills?

An AI skill is a reusable instruction bundle that teaches an AI model how to do one specific task. It follows the open Agent Skills format: a SKILL.md file with a name and description, plus any scripts, templates or reference files the model may need. The model reads the instructions only when your request matches the skill, so an installed skill costs nothing until it is used.

How are AI skills different from plugins or MCP servers?

A plugin or MCP server gives a model new tools to call — code that runs somewhere and returns a result. An AI skill gives the model knowledge and process instead: how to approach a task, which steps to follow, what good output looks like. Skills are plain Markdown, so they need no server, no API key and no runtime, and they work with any model.

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇