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

6
main.py Normal file → Executable file
View File

@ -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): ")