import lyricsgenius genius = lyricsgenius.Genius( "0uSA9UFGsiO2WozVmbWPhyhOoVmUNuM3PXRt9rvWhptHBMgSO5CZBxGUMkwet5mv" ) def download_albums(albums): [get_album_json(artist[0], album) for artist in albums for album in artist[1]] def get_album_json(artist_name, album_name): album = genius.search_album(album_name, artist_name) return album.save_lyrics()