983 B
983 B
sk0r
a script to get live scores from hltv.org
requirements
- nightmare
- electron
- if npm is giving you perm errors try
sudo npm install -g electron --unsafe-perm=true
- if npm is giving you perm errors try
- libgtk-2-0
- libgconf-2-4
- xvfb (if you're running it headless)
running
node sk0r.js
- or
xvfb-run node sk0r.js
for headless - it will output the scores as json to stdout
notes
- its electron, don't run it on your 340e
- its very slow
- it's named after this kid (hes good)
additional notes
- i hate javascript
- i dont know how to write javascript
- i dont know how to use nightmare
more notes
- hltv doesn't like you scraping them, they'll probably break this and/or send me a c&d soon
- in keeping with the theme of naming projects after counter-strike players, my next project will be a mobile phone operating system named "ANDROID"
(c) oneseveneight/sose