# xyz-podcast-downloader > Download Xiaoyuzhou (小宇宙) podcast episode audio files. Use when the user provides a Xiaoyuzhou podcast URL and asks to download the episode, extract audio, save the podcast, or mentions "小宇宙播客下载", "下载播客音频", or similar requests to save podcast episodes from xiaoyuzhou.fm URLs. - Author: yechw - Repository: yechw/skills - Version: 20260128235131 - Stars: 0 - Forks: 0 - Last Updated: 2026-02-08 - Source: https://github.com/yechw/skills - Web: https://mule.run/skillshub/@@yechw/skills~xyz-podcast-downloader:20260128235131 --- --- name: xyz-podcast-downloader description: Download Xiaoyuzhou (小宇宙) podcast episode audio files. Use when the user provides a Xiaoyuzhou podcast URL and asks to download the episode, extract audio, save the podcast, or mentions "小宇宙播客下载", "下载播客音频", or similar requests to save podcast episodes from xiaoyuzhou.fm URLs. --- # Xyz Podcast Downloader Download audio files from Xiaoyuzhou (小宇宙) podcast episodes with automatic title extraction and organized file saving. ## When to Use Use this skill when: - User provides a Xiaoyuzhou.fm URL and asks to download the episode - User wants to save podcast audio from a Xiaoyuzhou episode page - User mentions downloading podcasts, extracting audio, or saving episodes from 小宇宙 - User provides any URL from xiaoyuzhou.fm with download/save intent ## Quick Start ### Basic Usage Download an episode to the default location (`~/Downloads/music/xyz/{频道名}/`): ```bash python3 scripts/download_episode.py "https://www.xiaoyuzhou.fm/episode/..." ``` The script will: 1. Parse the webpage and extract the channel name and episode title 2. Find the .m4a audio file URL 3. Download the file with the episode title as the filename 4. Save to `~/Downloads/music/xyz/{频道名}/` (channel-specific directory) **Example**: For "知行小酒馆" channel's episode "E160 牛市(少)亏钱指南", the file will be saved to: - Path: `~/Downloads/music/xyz/知行小酒馆/E160 牛市(少)亏钱指南.m4a` ### Custom Output Directory Use `--output-dir` to specify a custom directory: ```bash python3 scripts/download_episode.py "https://www.xiaoyuzhou.fm/episode/..." \ --output-dir ~/Podcasts/ ``` When using a custom output directory, the filename format changes to `{频道名} - {单集标题名}.m4a` to include the channel name. ### Custom Filename ```bash python3 scripts/download_episode.py "https://www.xiaoyuzhou.fm/episode/..." \ --filename "my_episode" ``` ## How It Works The script uses a multi-strategy approach to extract episode information: 1. **HTML parsing**: Searches for `