1.0.1 • Published 9 years ago

austin-showlist-scraper v1.0.1

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

Austin Showlist Scraper

Scrape showlistaustin.com for upcoming live-music shows in Austin, TX.

Installation

$ npm install --save austin-showlist-scraper

Usage

The method AustinShowlistScraper#upcoming() returns a Promise<Iterable<Show>>:

import AustinShowlistScraper from 'austin-showlist-scraper';

async function go()
{
  let scraper = new AustinShowlistScraper();
  let shows = await scraper.upcoming();

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

go();

The Show model can be found at src/models/Show.js.

Example of a Show model (eg, JSON.stringify(show)):

{
  name: "Goodbye Blue Monday",
  url: null,
  date: "2015-03-24T02:00:00.000Z",
  artists: [
    {
      artist: { name: "White Kyle" },
      info: ""
    }
  ],
  info: "9pm",
  venue: {
    name: "Hotel Vegas",
    address: "1500 E. 6th St.",
    url: "http://www.hotelvegasaustin.com/"
  }
}

Testing

$ npm test

License

MIT

1.0.1

9 years ago

1.0.0

9 years ago

0.1.0

9 years ago