Skip to content

Commit

Permalink
text/html
Browse files Browse the repository at this point in the history
  • Loading branch information
FallBackITA27 committed Apr 11, 2024
1 parent 3e08a31 commit 68bf587
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mkwpp-parser/script.js
Original file line number Diff line number Diff line change
Expand Up @@ -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);
});
Expand Down

0 comments on commit 68bf587

Please sign in to comment.