mirror of
https://github.com/DIYgod/RSSHub.git
synced 2025-12-04 11:07:54 +08:00
* feat: /spotify/playlist/:id
* feat: /spotify/artist
* feat(spotify/artist): add to radar
* feat: /spotify/saved
* feat: /spotify/top/{tracks,artists}
* feat(spotify): add images for artist and playlist
* docs: /spotify/*
* docs/en: /spotify configurations
* chore(spotify): apiKey/Secret -> clientId/Secret
* fix(spotify/utils): genres can be empty
38 lines
1.2 KiB
JavaScript
38 lines
1.2 KiB
JavaScript
module.exports = {
|
|
'spotify.com': {
|
|
_name: 'Spotify',
|
|
open: [
|
|
{
|
|
title: '播放列表',
|
|
docs: 'https://docs.rsshub.app/multimedia.html#spotify',
|
|
source: ['/playlist/:id'],
|
|
target: '/spotify/playlist/:id',
|
|
},
|
|
{
|
|
title: '歌手专辑',
|
|
docs: 'https://docs.rsshub.app/multimedia.html#spotify',
|
|
source: ['/artist/:id'],
|
|
target: '/spotify/artist/:id',
|
|
},
|
|
{
|
|
title: '用户 Saved Tracks',
|
|
docs: 'https://docs.rsshub.app/multimedia.html#spotify',
|
|
source: ['/collection/tracks'],
|
|
target: '/spotify/saved',
|
|
},
|
|
{
|
|
title: '用户 Top Tracks',
|
|
docs: 'https://docs.rsshub.app/multimedia.html#spotify',
|
|
source: ['/'],
|
|
target: '/spotify/top/tracks',
|
|
},
|
|
{
|
|
title: '用户 Top Artists',
|
|
docs: 'https://docs.rsshub.app/multimedia.html#spotify',
|
|
source: ['/'],
|
|
target: '/spotify/top/artists',
|
|
},
|
|
],
|
|
},
|
|
};
|