integrate EGD

This commit is contained in:
2026-05-05 01:22:10 +02:00
parent 19bfdc7c03
commit 71a017020b
2 changed files with 1 additions and 5 deletions

View File

@@ -70,7 +70,7 @@ document.addEventListener('DOMContentLoaded', function() {
resultsDiv.innerHTML = 'Searching...';
resultsDiv.style.display = 'block';
const url = `https://europeangodatabase.eu/EGD/GetPlayerDataByData.php?lastname=@${encodeURIComponent(lastName)}&name=@${encodeURIComponent(firstName)}`;
const url = `https://europeangodatabase.eu/EGD/GetPlayerDataByData.php?lastname=${encodeURIComponent(lastName)}\u0026name=${encodeURIComponent(firstName)}`;
fetch(url)
.then(response => response.json())