I'm using node.js and pdf2json parser to parse a pdf file. Currently it is working with a local pdf file. But I'm trying to get a pdf-file through the URL/HTTP Module of node.js and I want to open this file to parse it.
Is there any possibility to parse/work with an online pdf?
let query = url.parse(req.url, true).query;
let pdfLink = query.pdf;
...
pdfParser.loadPDF(pdfLink + "");
So the url should be given through the url like: https://localhost:8080/?pdf=http://whale-cms.de/pdf.pdf
Is there any way to parse it within the online pdf/link?
Thanks in advance.