Compare commits
2 Commits
2c286c9d39
...
1b8bf28bc9
Author | SHA1 | Date |
---|---|---|
Pulguer Gonzalo | 1b8bf28bc9 | |
Pulguer Gonzalo | 8ba3ad1b6c |
|
@ -3,7 +3,9 @@
|
||||||
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: ')
|
||||||
|
@ -19,7 +21,9 @@ 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)
|
||||||
print(fin)
|
letra = fin.split('©', 1)
|
||||||
|
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): ")
|
||||||
|
@ -36,4 +40,4 @@ while True:
|
||||||
break
|
break
|
||||||
else:
|
else:
|
||||||
print('SOMETHING WENT HORRIBLY WRONG GOTTA GO')
|
print('SOMETHING WENT HORRIBLY WRONG GOTTA GO')
|
||||||
break
|
break
|
||||||
|
|
Loading…
Reference in New Issue