1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18
import lyricsgenius import sys def getAlbum(artist_name, album_name): genius = lyricsgenius.Genius( "0uSA9UFGsiO2WozVmbWPhyhOoVmUNuM3PXRt9rvWhptHBMgSO5CZBxGUMkwet5mv" ) album = genius.search_album(artist_name, album_name) album.save_lyrics() def getJsonLyrics(link): for key, value in data.items(): print(key, value) getJsonLyrics(sys.argv[1])