Update README.md

This commit is contained in:
Doublefire.Chen
2022-11-04 14:58:57 +08:00
parent 2d6174f619
commit 10e70ca043
+3 -3
View File
@@ -12,18 +12,18 @@ This software is totally open source code permanently,which is only used for stu
· Go to the [Spotify API Dashboard](https://developer.spotify.com/dashboard/applications) · Go to the [Spotify API Dashboard](https://developer.spotify.com/dashboard/applications)
· Create an app and enter "http://example.com/example" as the Redirect URI in the settings · Create an app and enter ```http://example.com/example``` as the Redirect URI in the settings
· copy client ID and secret from Spotify API Dashboard and put them into lyricdownloader.py · copy client ID and secret from Spotify API Dashboard and put them into lyricdownloader.py
· Sign into Spotify and listen to any song you like. · Sign into Spotify and listen to any song you like.
· open the browser and open the developer tool(Hot key is F12 in Chrome), and go to "https://open.spotify.com/lyrics", find the authrization value as the picture as below. Then close the browser. Remember, once you get the authrization, don't open "https://open.spotify.com/lyrics" in a new web, or it will generate a new one and the old one will be expired. As long as you don't open a new web, this can maintain a long time. Just use client to listen to music. · open the browser and open the developer tool(Hot key is F12 in Chrome), and go to https://open.spotify.com/lyrics, find the authrization value as the picture as below. Then close the browser. Remember, once you get the authrization, don't open https://open.spotify.com/lyrics in a new web, or it will generate a new one and the old one will be expired. As long as you don't open a new web, this can maintain a long time. Just use client to listen to music.
![Image load fail](./picture/get_authrization.png) ![Image load fail](./picture/get_authrization.png)
· Run converter.py · Run converter.py
· It will redirect you to a link based off your URI, copy everything but "http://example.com/example" from the url and paste it into the console. Then you can close the browser. · It will redirect you to a link based off your URI, copy everything but ```http://example.com/example``` from the url and paste it into the console. Then you can close the browser.
--------------------------------------------------------------------- ---------------------------------------------------------------------