Last active
June 2, 2018 10:53
-
-
Save vilkoz/f319a51bfbd7c7adf4a2e977ab7a2f96 to your computer and use it in GitHub Desktop.
find users in UNIT cluster
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//https://cheatera.unit.ua/42/projects/matcha | |
g = document.querySelectorAll('.highcharts-axis-labels > text > tspan'); | |
a = []; | |
for (let i = 0; i < g.length; i++) | |
{ | |
a.push(g[i].innerHTML); | |
} | |
a = a.map(function(x) {return x.split(" ")[1];}); | |
a.filter(function(x) {return x}); | |
// ---------------------------------------------------------------------------- | |
//https://unitportal.click/cluster2/ | |
//a = ["arodiono", "atrush", "egaragul", "mpotapov", "mvorona", "oklymeno", "sandruse", "vdoroshy", "ykondrat", "gsominsk", "mdubina", "sladonia", "dpanov", "efedoryc", "rkonoval", "omotyliu", "vrudenko", "vrybchyc", "vsosevic", "vartyukh", "astepovy", "efedorov", "gtertysh", "mhlukhov"] | |
b = document.querySelectorAll('span.login.stud'); | |
//b = document.querySelectorAll('#content > div > div > div > div > a'); | |
c = []; | |
for (let i = 0; i<b.length; i++) | |
{ | |
c.push(b[i].innerHTML); | |
} | |
d = c.filter((x) => {return a.includes(x);}) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment