diff --git a/mkwpp-parser/script.js b/mkwpp-parser/script.js index 0534b2e..8eae69e 100644 --- a/mkwpp-parser/script.js +++ b/mkwpp-parser/script.js @@ -93,7 +93,7 @@ async function loadStuff() { console.log("enters"); await fetch("https://corsproxy.io/?https://www.mariokart64.com/mkw/profile.php").then(r=>r.text()).then(r=>{ console.log(r); - let profileDocument = new DOMParser().parseFromString(r); + let profileDocument = new DOMParser().parseFromString(r, "text/html"); let playerList = profileDocument.getElementsByClassName("playerslist")[0].children[0]; console.log(playerList); });