From 7446d6057cfc6d7b1778fba86b5baf3b25f63225 Mon Sep 17 00:00:00 2001 From: FallBackITA27 Date: Thu, 11 Apr 2024 22:04:39 +0200 Subject: [PATCH] test --- mkwpp-parser/index.html | 2 +- mkwpp-parser/script.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/mkwpp-parser/index.html b/mkwpp-parser/index.html index 785012b..1216e70 100644 --- a/mkwpp-parser/index.html +++ b/mkwpp-parser/index.html @@ -5,7 +5,6 @@ MKWPP Auto Parser -
@@ -121,4 +120,5 @@

how are track names read?

+ \ No newline at end of file diff --git a/mkwpp-parser/script.js b/mkwpp-parser/script.js index 7d2d266..713201b 100644 --- a/mkwpp-parser/script.js +++ b/mkwpp-parser/script.js @@ -231,7 +231,7 @@ document.addEventListener("DOMContentLoaded",async function() { 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 playerList = profileDocument.getElementsByClassName("playerslist")[0]; + let playerList = profileDocument.getElementsByClassName("playerslist")[0].children[0]; console.log(playerList); }); }, false);