Get all uniq and normalized urls from a pdf file.
On osx: brew install xpdf
On debian: apt-get install poppler-utils
Any other please install the similar ones.
$ npm install --save get-pdf-urls
var getPdfUrls = require('get-pdf-urls');
getPdfUrls('your.pdf', function(err, urls){
if(!err){
console.log(urls);
}
});
$ npm install --global get-pdf-urls
$ get-pdf-urls -h
Usage
get-urls <file>
MIT © Hemanth.HM