aboutsummaryrefslogtreecommitdiff
path: root/src/example.ts
blob: fc0f470e066e62178286158c178d5c3749e33d65 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
import getScheduleHtml from './getScheduleHtml'
import parse from './parseScheduleHtml'

async function main() {
  const html = await getScheduleHtml();
  const parsed = parse(html)

  console.log(parsed.lives)
}

main().catch(e => { console.error(e) })