diff --git a/js/script.js b/js/script.js index ce20bb2..e755ed0 100644 --- a/js/script.js +++ b/js/script.js @@ -12,8 +12,8 @@ fetch(host.replace("%", "torr")).then(r => r.text()).then(r => { var i = { "S": "\uf062", - "P": "\uf063", - "L": "\uf46f" + "L": "\uf063", + "P": "\uf1eb", } fetch(host.replace("%", "top10")).then(r => r.text()).then(r => { @@ -33,7 +33,8 @@ fetch(host.replace("%", "top10")).then(r => r.text()).then(r => { num: parseInt(segments[0]), hash: segments[1] } - hashes[info.hash] = hashes[info.hash] ?? { seeds: 0, peers: 0, leechers: 0 }; + + hashes[info.hash] = hashes[info.hash] ?? { peers: 0, seeds: 0, leechers: 0 }; hashes[info.hash][current] = hashes[info.hash][current] ?? 0; hashes[info.hash][current] += info.num;