运行时依赖
安装命令
点击复制技能文档
播客摘要器 🎙️ 从各个平台的播客中提取摘要。 支持的平台 Spotify(通过网页抓取 + RSS 查询) Apple Podcasts 直接RSS/MP3 URL 用法 # 摘要Spotify的一集 python3 {baseDir}/scripts/summarize_podcast.py "https://open.spotify.com/episode/xxx" # 从RSS源摘要 python3 {baseDir}/scripts/summarize_podcast.py "https://example.com/feed.xml" --episode 1 # 从直接MP3摘要 python3 {baseDir}/scripts/summarize_podcast.py "https://example.com/episode.mp3" 选项 --language zh - 指定转录语言(默认:auto) --length short|medium|long - 摘要长度 --transcript-only - 只输出转录文本,不输出摘要 --output FILE - 保存到文件 要求 whisper CLI用于转录 OPENAI_API_KEY或GEMINI_API_KEY用于摘要 工作原理 Spotify/Apple:抓取集信息,找到RSS源,下载音频 RSS:解析源,下载集音频 MP3:直接下载 转录:使用Whisper进行语音转文本 摘要:使用LLM生成结构化摘要 注意 Spotify不提供直接音频访问;我们尝试找到原始RSS源 为了获得最佳结果,请直接使用播客的RSS源 SoundOn播客可以经常通过其RSS源访问 SoundOn播客(台灣) SoundOn是台灣主要的播客托管平台。 RSS源格式:https://feeds.soundon.fm/podcasts/{播客ID}/soundon.xml 找到RSS源的方法: 去player.soundon.fm搜索节目 URL中的feed_url参数是base64编码的RSS URL 解码后可以获得完整的RSS源 音频URL格式:https://rss.soundon.fm/rssf/{播客ID}/feedurl/{集ID}/rssFileVip.mp3 示例:藝視Art.Market # RSS源 https://feeds.soundon.fm/podcasts/5c1bdcf0-8ef0-4342-a82e-8803ff85f10c/soundon.xml # 下载并转录最新一集 curl -o episode.mp3 "https://rss.soundon.fm/rssf/5c1bdcf0-8ef0-4342-a82e-8803ff85f10c/feedurl/{集ID}/rssFileVip.mp3" whisper episode.mp3 --language zh --model small