From 62402d70008dbdce5e0bd027716321d1cca0e303 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?H=C3=B6rdle=20Bot?= Date: Mon, 24 Nov 2025 15:39:45 +0100 Subject: [PATCH] Remove `cleanSearchTerm` calls for artist and title from within the retry loop. --- scripts/slow-refresh-itunes.js | 2 -- 1 file changed, 2 deletions(-) diff --git a/scripts/slow-refresh-itunes.js b/scripts/slow-refresh-itunes.js index 32fb7a5..480bf71 100644 --- a/scripts/slow-refresh-itunes.js +++ b/scripts/slow-refresh-itunes.js @@ -109,8 +109,6 @@ async function main() { while (retries < MAX_RETRIES) { try { - const cleanArtist = cleanSearchTerm(song.artist); - const cleanTitle = cleanSearchTerm(song.title); const term = encodeURIComponent(`${cleanArtist} ${cleanTitle}`); const itunesUrl = `https://itunes.apple.com/search?term=${term}&entity=song&limit=5`;