Skip to content

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

License

Notifications You must be signed in to change notification settings

bvalosek/showlist-austin-parser

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

Topics

Resources

License

Stars

Watchers

Forks

Packages