comic-list

1.0.0 • Public • Published

ComicList Scraper

Build Status

Scrapes the upcoming comic book releases from ComicList and converts them into a json array.

Usage

const comiclist = require('comic-list');

//promise 
comiclist().then(comics => {
    comics.forEach(function(issue) {
        console.log(issue.raw_name);
    });
}, err => {
    console.log(err);
});

You will recieve an array of objects in the following structure

{ 
    publisher: 'MARVEL COMICS',
    store_url: 'http://www.shareasale.com/r.cfm?u=167587&b=84187&m=8908&afftrack=special1&urllink=www.tfaw.com/Profile/All-New-X-Factor-15___460564%3Fqt%3Dssnrp20141020',
    raw_name: 'All-New X-Factor #15',
    type: 'single issue',
    issue_num: 15,
    title: 'All-New X-Factor'
}

Possible types are

  • hardcover
  • graphic novel
  • trade paperback
  • single issue

Tests

Tests are written with mocha and shouldjs, run using npm test

Note

I'm just a comicbook fan who needed this for his own personal gains, I have no affliation with ComicList, just tons of affection.

Dependencies (2)

Dev Dependencies (2)

Package Sidebar

Install

npm i comic-list

Weekly Downloads

1

Version

1.0.0

License

MIT

Last publish

Collaborators

  • dmamills