Forward next_params (except limit) for pagination

This commit is contained in:
Rafael Moraes
2026-05-13 07:25:34 -03:00
parent 34a397eb18
commit b48dbeff8e
+1 -3
View File
@@ -518,13 +518,11 @@ class AppleMusicApi:
else:
limit = None
offset = int(next_params["offset"][0])
extended_data = await self._amp_request(
urlparse(next_uri).path,
{
"offset": offset,
**({"limit": limit} if limit else {}),
**{k: v for k, v in next_params.items() if k not in ["limit"]},
},
)