Converts a CSV of a Spotify playlist to a HTML file containing a list of links to the lyrics of each song, with the option to check if each link exists.
- Cannot currently handle non-Latin scripts (e.g. Japanese, Cyrillic, Tifinagh).
- Checking if links exist takes a long time compared to not checking - 34.808 seconds vs 0.012 seconds for the same 100-song playlist. (This is why there is an option to not check links.)
- There will always be some songs where the Genius page can't be found with just the information on Spotify, usually due to artists changing names, the Genius page having a slightly different song name to Spotify, or Genius being inconsistent with its own URL rules.
- Repeated consecutive punctuation may be handled incorrectly.
- Links may be handled incorrectly if the artist and/or song name contains punctuation that isn't explicitly handled.
- Some cases (features, subtitles, etc.) may not be handled in the same way that Genius handles them, causing the link to lead to a 404 error even if the song exists on Genius.
- If a song has a Genius page but is missing lyrics, it will still show as not existing.
This program has been tested on an extensive 3300-song personal playlist; the most common error was the program's inability to process many remastered tracks correctly, due to their title format.
Download csv-to-genius.exe from the latest release.
Ensure you have the packages string, requests, csv, and unidecode installed, as well as Python 3.10.8, then download the source code. Other versions of Python may work, but may not.
- Export the playlist you want to process using Exportify. Other services that export a CSV with the exact same format will also work.
- Rename the CSV file to
songs.csv. - Place
songs.csvand this program in the same folder. - Run
csv-to-genius.exe(option 1) orgenius.py(option 2). It will create a file namedsongs.htmlwith the list of links.