From 64bb4f75dfb5eccd72ff1e6d39e9a79f9492c0f4 Mon Sep 17 00:00:00 2001 From: geoffrey45 Date: Sun, 12 Mar 2023 19:29:54 +0300 Subject: [PATCH] bump lastfm similar artists result limit from 100 -> 250 --- app/requests/artists.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/requests/artists.py b/app/requests/artists.py index 6564211..d699b47 100644 --- a/app/requests/artists.py +++ b/app/requests/artists.py @@ -12,7 +12,7 @@ def fetch_similar_artists(name: str): Fetches similar artists from Last.fm """ url = f"https://ws.audioscrobbler.com/2.0/?method=artist.getsimilar&artist={name}&api_key=" \ - f"{settings.Keys.LASTFM_API_KEY}&format=json&limit=100" + f"{settings.Keys.LASTFM_API_KEY}&format=json&limit=250" response = requests.get(url, timeout=10) response.raise_for_status()