albums = PyLyrics.getAlbums(singer='Eminem')
myalbum = albums[4] #Select your album based on Index
tracks = myalbum.tracks() #or PyLyrics.getTracks(myalbum)
for track in tracks:
print (track) #Each track is a track object
print (track.getLyrics()) #Get the lyrics" throws an error which is not right for the PyLyrics library.
So i tried fixing it and it worked.
Kindly go through the code and confirm it works.
Hi, I noticed that "from PyLyrics import *
albums = PyLyrics.getAlbums(singer='Eminem') myalbum = albums[4] #Select your album based on Index
tracks = myalbum.tracks() #or PyLyrics.getTracks(myalbum) for track in tracks: print (track) #Each track is a track object print (track.getLyrics()) #Get the lyrics" throws an error which is not right for the PyLyrics library. So i tried fixing it and it worked. Kindly go through the code and confirm it works.
Best wishes Mark