Update app.py
Browse files
app.py
CHANGED
@@ -103,7 +103,7 @@ async def match():
|
|
103 |
if not track_info:
|
104 |
raise HTTPException(status_code=404, detail="Could not fetch track info")
|
105 |
|
106 |
-
youtube_url = extract_url(track_info["linksByPlatform"], "
|
107 |
if youtube_url:
|
108 |
title, artist = extract_track_info(track_info["entitiesByUniqueId"], "youtube")
|
109 |
if title and artist:
|
|
|
103 |
if not track_info:
|
104 |
raise HTTPException(status_code=404, detail="Could not fetch track info")
|
105 |
|
106 |
+
youtube_url = extract_url(track_info["linksByPlatform"], "tidal")
|
107 |
if youtube_url:
|
108 |
title, artist = extract_track_info(track_info["entitiesByUniqueId"], "youtube")
|
109 |
if title and artist:
|