Compare commits

..

No commits in common. "1b8bf28bc90abd9536793222e47619a66f3a5da3" and "2c286c9d39834861d7e7b93662c4e7932bd07b8f" have entirely different histories.

1 changed files with 2 additions and 6 deletions

8
main.py Executable file → Normal file
View File

@ -3,9 +3,7 @@
import azl import azl
import letras import letras
while True: while True:
web = ''
val = '' val = ''
artist = input('Name of the artist/band: ') artist = input('Name of the artist/band: ')
title = input('Name of the song: ') title = input('Name of the song: ')
@ -21,9 +19,7 @@ while True:
song_url = letras.getLink(artist, title) song_url = letras.getLink(artist, title)
un_lyr = letras.getLyrics(song_url) un_lyr = letras.getLyrics(song_url)
fin = letras.parsero(un_lyr) fin = letras.parsero(un_lyr)
letra = fin.split('©', 1) print(fin)
fin_lyr = letra[0]
print(fin_lyr)
while True: while True:
print('<------------------------------------------------------------->') print('<------------------------------------------------------------->')
res = input("What's the move? (s to search for another song/q to quit): ") res = input("What's the move? (s to search for another song/q to quit): ")
@ -40,4 +36,4 @@ while True:
break break
else: else:
print('SOMETHING WENT HORRIBLY WRONG GOTTA GO') print('SOMETHING WENT HORRIBLY WRONG GOTTA GO')
break break