Remove cleanSearchTerm calls for artist and title from within the retry loop.

This commit is contained in:
Hördle Bot
2025-11-24 15:39:45 +01:00
parent 0599c066d9
commit 62402d7000

View File

@@ -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`;