DJWassink / in2sport-rooster

http://djwassink.com/in2sport-rooster/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

In2Sport Rooster scraper / viewer

To scrape the rooster and get JS objects:

const trainings = Array.from(document.querySelectorAll('.evtitem')).map(el => {
    return {
        title: el.querySelector('.title').innerText,
        time: el.querySelector('.time').innerText,
        trainer: el.querySelector('.trainer').innerText,
        attendees: el.querySelector('.attendees').innerText,
    }
});

const basicTrainings = trainings.filter(training => training.title.toLowerCase().includes('basic'));

About

http://djwassink.com/in2sport-rooster/


Languages

Language:HTML 100.0%