2.0.3 • Published 6 years ago

showlist-austin-parser v2.0.3

Weekly downloads
3
License
MIT
Repository
github
Last release
6 years ago

Showlist Austin Parser

CircleCI

Parse the HTML from showlistaustin.com for upcoming live-music shows in Austin, TX.

Powers the ShowGOAT.net site.

This was previously austin-showlist-scraper v1

Installation

$ npm install showlist-austin-parser

Usage

The library exports a single method that will take HTML and return an ES6 Iterable of Show objects.

const parse = require('showlist-austin-parser');
const fetch = require('node-fetch');

(async () => {

  const resp = await fetch('http://showlistaustin.com');
  const html = await resp.text();

  const shows = parse(html);

  for (const show of shows) {
    console.log(show);
  }

})();

Testing

$ npm test

License

MIT

2.0.3

6 years ago

2.0.2

6 years ago

2.0.1

7 years ago

2.0.0

7 years ago