Reduce artist_album limit (#1232)

Reduces the limit so that a query called without explicit limit is valid
with the new changes to the spotify API.
This commit is contained in:
Fabian Wunsch 2026-03-11 22:07:45 +01:00 committed by GitHub
parent 6787aabe0f
commit 351d4223d0
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -400,7 +400,7 @@ class Spotify:
return self._get("artists/?ids=" + ",".join(tlist))
def artist_albums(
self, artist_id, album_type=None, include_groups=None, country=None, limit=20, offset=0
self, artist_id, album_type=None, include_groups=None, country=None, limit=10, offset=0
):
""" Get Spotify catalog information about an artist's albums