From 7f060665a6eefc929cd8a77c7ef71be4514facff Mon Sep 17 00:00:00 2001 From: daxit Date: Fri, 5 May 2023 13:35:14 +0530 Subject: [PATCH] Fix bug: Interchange variables in RELATED_SONGS URL --- shazamio/misc.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/shazamio/misc.py b/shazamio/misc.py index 40e8db3..f88bb67 100644 --- a/shazamio/misc.py +++ b/shazamio/misc.py @@ -35,7 +35,7 @@ class ShazamUrl: ) RELATED_SONGS = ( "https://cdn.shazam.com/shazam/v3/{language}/{endpoint_country}/web/-/tracks" - "/track-similarities-id-{track_id}?startFrom={limit}&pageSize={offset}&connected=&channel=" + "/track-similarities-id-{track_id}?startFrom={offset}&pageSize={limit}&connected=&channel=" ) SEARCH_ARTIST = ( "https://www.shazam.com/services/search/v4/{language}/{endpoint_country}/web"