Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -38,7 +38,7 @@ def create_search_url_chords(artist_song):
|
|
38 |
# Function to create a search URL for Lyrics:
|
39 |
def create_search_url_lyrics(artist_song):
|
40 |
base_url = "https://www.google.com/search?q="
|
41 |
-
return base_url + artist_song.replace(' ', '+').replace('β', '%E2%80%93').replace('&', 'and') + lyrics
|
42 |
|
43 |
# Parsing the data
|
44 |
data = parse_data("data.txt")
|
|
|
38 |
# Function to create a search URL for Lyrics:
|
39 |
def create_search_url_lyrics(artist_song):
|
40 |
base_url = "https://www.google.com/search?q="
|
41 |
+
return base_url + artist_song.replace(' ', '+').replace('β', '%E2%80%93').replace('&', 'and') + '+lyrics'
|
42 |
|
43 |
# Parsing the data
|
44 |
data = parse_data("data.txt")
|