pitchfork-bnm
v1.1.2
Published
Pitchfork.com scraper that gets best new music info Edit
Downloads
2
Readme
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