Pitchfork.com scraper that gets best new music info
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);
});
$ npm test