docs: fix spotify envs docs

This commit is contained in:
Tony
2024-02-17 14:35:25 +00:00
committed by GitHub
parent ce19844a94
commit 6cc3acde01
3 changed files with 15 additions and 3 deletions
+7 -1
View File
@@ -478,7 +478,13 @@ For scientific journal routes
For user data related routes
- `SPOTIFY_REFRESHTOKEN`: The refresh token of the user from the Spotify application. Check [this gist](https://gist.github.com/outloudvi/d1bbeb5e989db5385384a223a7263744) for detailed information.
- `SPOTIFY_REFRESHTOKEN`: The refresh token of the user from the Spotify application. You can obtain it through [spotify-refresh-token](https://alecchen.dev/spotify-refresh-token/) by [alecchendev](https://github.com/alecchendev/spotify-refresh-token).
:::tip
Remember to check `user-top-read` and `user-library-read` in the scope for `Personal Top Items` and `Personal Saved Tracks` respectively.
:::
### Telegram
+1 -1
View File
@@ -1071,7 +1071,7 @@ JavDB 有多个备用域名,本路由默认使用永久域名 `https://javdb.c
### Show {#spotify-show}
<Route author="caiohsramos" example="/spotify/show/38bS44xjbVVZ3No3ByF1dJ" path="/spotify/show/:id" paramsDesc={['Show ID']} configRequired="1" />
<Route author="caiohsramos" example="/spotify/show/5CfCWKI5pZ28U0uOzXkDHe" path="/spotify/show/:id" paramsDesc={['Show ID']} configRequired="1" />
## Sub HD {#sub-hd}
@@ -457,7 +457,13 @@ RSSHub 支持使用访问密钥 / 码,允许清单和拒绝清单三种方式
用户相关路由
- `SPOTIFY_REFRESHTOKEN`:用户在此 Spotify 应用的 refresh token。可以利用 [此 gist](https://gist.github.com/outloudvi/d1bbeb5e989db5385384a223a7263744) 获取。
- `SPOTIFY_REFRESHTOKEN`:用户在此 Spotify 应用的 refresh token。可以利用 [alecchendev](https://github.com/alecchendev/spotify-refresh-token) 制作的 [spotify-refresh-token](https://alecchen.dev/spotify-refresh-token/) 获取。
:::tip
记得为 `Personal Top Items` 或 `Personal Saved Tracks` 分别勾选 `user-top-read` 或 `user-library-read` scope。
:::
### Telegram