bvalosek / showlist-austin-parser

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

Home Page:https://showgoat.net

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About

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

https://showgoat.net

License:MIT License


Languages

Language:JavaScript 100.0%