关于 music-podcast-research
通过 Crawlora API 研究 Spotify、Spotify Podcasts、Apple Podcasts、Discogs 和 SoundCloud 上的音乐与播客,支持目录搜索、详情查询、榜单和发现功能,并以 JSON 返回公开目录及个人资料数据。
主要功能
- 01跨五个平台搜索音乐目录
- 02获取曲目、专辑和艺人详情
- 03探索播客节目、单集和榜单
- 04查询 Discogs 发行版本及目录
- 05查看 SoundCloud 资料、曲目和播放列表
- 06发现相关艺人和相似专辑
适用场景
- 01研究艺人作品目录及相关艺人
- 02查找热门播客并浏览单集目录
- 03核查黑胶发行和压制版本详情
- 04查看 SoundCloud 上传内容及互动数据
安装
复制下面的命令,在终端中运行。
$
npx skills add https:/ / github.com/ crawlora-org/ crawlora-skills --skill music-podcast-research安装后在 Claude Code 中输入/music-podcast-research确认已加载。
附带文件reference/endpoints.mdscripts/crawlora.sh
详细介绍
音乐与播客研究
通过 Crawlora API 查询 Spotify、Spotify Podcasts、Apple Podcasts、Discogs 和 SoundCloud 上的曲目、专辑、艺人、播放列表及播客节目/单集,并获取规范化的 JSON 数据——无需抓取流媒体应用页面。
何时使用此技能
- “在 Spotify 上查找这首曲目/这张专辑/这位艺人”/“这个播放列表里有什么?”
- “查找 Spotify 用户的公开个人资料/播放列表。”
- “有哪些热门播客/单集?”(Spotify Podcasts、Apple Podcasts 榜单)
- “获取这个播客节目/单集的详细信息。”
- “这张唱片有哪些压制版/发行版本?”(Discogs——黑胶/收藏者数据)
- “查找这首 SoundCloud 曲目/这个用户”/“这首曲目有多少播放量/点赞?”/“这位艺人在 SoundCloud 上传了哪些内容?”
设置(一次性)
- 获取免费的 Crawlora API 密钥(每月 2,000 个积分,无需银行卡):https://crawlora.net。
- 运行辅助脚本前,在环境中设置
CRAWLORA_API_KEY。 - 辅助脚本会从环境中读取
CRAWLORA_API_KEY,并向https://api.crawlora.net/api/v1发送请求。缺少或无效的密钥会返回401。
工作原理
- Spotify — 先搜索:使用
/spotify/search(或限定类型的/spotify/tracks/search、/spotify/artists/search、/spotify/albums/search、/spotify/playlists/search、/spotify/profiles/search)并提供q。详情 端点(/spotify/track、/spotify/album、/spotify/artist、/spotify/playlist、/spotify/profile)接受id或uri任一参数 (例如spotify:track:...这样的 Spotify URI)——传入你拥有的参数即可。/spotify/artist/related、/spotify/track/recommended和/spotify/track/similar-albums可用于探索发现。 - Spotify Podcasts —
/spotify-podcasts/search、/spotify-podcasts/show(通过uri)、/spotify-podcasts/show/episodes、/spotify-podcasts/charts。 - Apple Podcasts —
/apple-podcasts/search(term)、/apple-podcasts/show/{id}、/apple-podcasts/show/{id}/episodes、/apple-podcasts/charts//apple-podcasts/charts/rankings,用于按国家查看热门内容。 - Discogs — 使用
/discogs/search(q,可选的type= release/master/ artist/label)查找 ID,然后使用/discogs/release/{id}、/discogs/master/{id}、/discogs/artist/{id}、/discogs/label/{id}获取详情(以及/releases子路径,查看艺人/厂牌的目录)。 - SoundCloud — 使用
/soundcloud/search(query)查找曲目,然后使用/soundcloud/track(url——曲目完整的permalink_url)获取完整元数据以及播放量/点赞数/评论数/转发数。使用/soundcloud/profile(url——用户个人资料 URL)获取个人简介和关注者/曲目数量;/soundcloud/user-tracks(url)用于列出该用户上传的内容;/soundcloud/playlist(url)用于获取播放列表/专辑的元数据和 完整曲目列表。
完整端点列表、方法和参数:reference/endpoints.md。
调用 API
# Spotify:
scripts/crawlora.sh /spotify/search q="Daft Punk" | jq '.'
scripts/crawlora.sh /spotify/artist id=4tZwfgrHOc3mvqYlEYSvVi | jq '.'
# Podcasts:
scripts/crawlora.sh /apple-podcasts/search term="Reply All" | jq '.'
scripts/crawlora.sh /spotify-podcasts/charts | jq '.'
# Discogs:
scripts/crawlora.sh /discogs/search q="Random Access Memories" type=release | jq '.'
scripts/crawlora.sh /discogs/release/4818226 | jq '.'
# SoundCloud:
scripts/crawlora.sh /soundcloud/search query="lofi hip hop" | jq '.'
scripts/crawlora.sh /soundcloud/track url="https://soundcloud.com/artist/track-name" | jq '.'
所有请求都使用 scripts/crawlora.sh;它会避免将 API 密钥暴露在命令行参数中。
端点参考
有关此技能使用的所有 Spotify、Spotify Podcasts、Apple Podcasts、Discogs 和 SoundCloud 端点,请参阅 reference/endpoints.md。
示例
- 艺人深度研究:
/spotify/artist+/spotify/artist/albums+/spotify/artist/related,获取完整唱片目录和相似艺人关系图。 - 播客发现: 使用
/spotify-podcasts/charts或/apple-podcasts/charts查找热门内容,然后使用/spotify-podcasts/show/episodes查看节目的过往单集。 - 收藏者研究: 使用
/discogs/search查找发行版本,然后使用/discogs/release/{id}查看压制版详情(格式、年份、厂牌、 与品相相关的元数据)。 - SoundCloud 艺人目录: 使用
/soundcloud/profile获取用户的 关注者/曲目数量,然后使用/soundcloud/user-tracks查看其上传内容及 每首曲目的播放量/点赞数/评论数/转发数。
注意事项与限制
- **积分 / 成功后付费:**仅在返回
2xx时计费;免费套餐每月包含 2,000 个积分。 在 https://crawlora.net 获取密钥。 - 仅限公开数据——公开的目录、个人资料和榜单页面。
- **安全:**密钥仅保存在
CRAWLORA_API_KEY中——切勿硬编码、将其作为查询参数,或提交密钥。 - Spotify 详情端点需要
id或uri——如果只有名称,请先通过对应的.../search端点解析出其中一个。 - SoundCloud 详情端点需要完整的
url(曲目、播放列表或用户的permalink_url,例如https://soundcloud.com/artist/track-name)——不支持通过数字 ID 查找,因此如果只有名称,请先从/soundcloud/search的结果中获取 URL。 - 搜索端点采用分页方式(
limit/offset或page)——请遍历各页以获取完整结果。
评论
支持 Markdown