Compare commits

...

2 Commits

Author SHA1 Message Date
Pulguer Gonzalo 1b8bf28bc9 a 2022-02-14 18:48:00 -03:00
Pulguer Gonzalo 8ba3ad1b6c web selector removed (less annoying to use) 2022-02-12 01:50:48 -03:00
1 changed files with 6 additions and 2 deletions

8
main.py Normal file → Executable file
View File

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