Skip to content

nukeop/pitchfork-bnm

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Pitchfork.com scraper that gets best new music info

Resources

License

Stars

Watchers

Forks

Packages

No packages published