Skip to content

Instantly share code, notes, and snippets.

View asmalcev's full-sized avatar
🌊
The Great Wave off Kanagawa

Alexander asmalcev

🌊
The Great Wave off Kanagawa
View GitHub Profile
@asmalcev
asmalcev / parser.js
Created July 21, 2023 20:20
Script to download entrants table from abit.itmo.ru
{
const a = document.createElement("a");
a.href = URL.createObjectURL(
new Blob(
[
JSON.stringify(
Array.from(document.querySelectorAll("*"))
.filter((el) => /RatingPage_table__item__/.test(el.className))
.map((el) => {
const res = {};