pitchfork-bnm

1.1.2 • Public • Published

pitchfork-bnm

Pitchfork.com scraper that gets best new music info

Usage

The module exposes 3 methods, each of which scrapes data from the sections found here: https://pitchfork.com/best/

$ npm install --save pitchfork-bnm
const p4k = require('pitchfork-bnm');

p4k.getBestNewAlbums()
    .then((albums) => {
      console.log(albums);
});
const p4k = require('pitchfork-bnm');

p4k.getBestNewTracks()
    .then((tracks) => {
      console.log(tracks);
});
const p4k = require('pitchfork-bnm');

p4k.getBestNewReissues()
    .then((reissues) => {
      console.log(reissues);
});

Testing

$ npm test

Readme

Keywords

Package Sidebar

Install

npm i pitchfork-bnm

Weekly Downloads

46

Version

1.1.2

License

AGPL-3.0

Unpacked Size

41.4 kB

Total Files

5

Last publish

Collaborators

  • nukeop