This is the lyrics module of the repository apple-playlist-downloader. With this code you can download the .lrc file (time synced lyrics) from yours tracks in a apple music playlist.
How to use :
npm install
If you have problems with security type npm audit fix --force
pip3 install -r requirements.txt
Set the playlist link at the 'url' variable in the file 'apple_playlist.js'
Get the playlists tracks and copy them into your clipboard :
node fetch_playlist.js
You'll get an output like this :
Then go to the file searcher.py line 68 and change the line and paste into the '''(here)''' your clipboard.
python3 searcher.py
Then wait and you will get a result like this :
All the lyrics are stored in the folder 'lyrics' Or a message like 'No lyrics found'
Code uses https://gist.github.com/greenstick/b23e475d2bfdc3a82e34eaa1f6781ee4 for the progress bar and a modified version of https://github.com/Shubhamrawat5/apple-playlist-downloader/blob/master/apple_playlist.js to fetch the tracks. I use my other repository : https://github.com/antoinebollengier/lyrics_finder for the core of the project (using https://github.com/SimonIT/spotifylyrics)