crossref-metadata-scraper
v1.0.0
Published
Gets crossref metadata in batch
Downloads
3
Readme
crossref-metadata-scraper
Scrape crossref metadata.
CLI Example
crossref-metadata-scraper --rows=5 --offset=25 --limit=500
Options
rows
: number of rows per pageoffset
: the row number to start returning resultslimit
: the total number of rows before stoppingraw
: will output the raw crossref data instead of bibjson
JS
var scraper = require('crossref-metadata-scraper')
var opts = {
offset: 5,
limit: 1000,
rows: 200
}
var readStream = scraper(opts)
readStream.on('data', function (page) {
// a page of crossref results
console.log(page)
})