Skip to content

Commit

Permalink
Changed to parse just one PDF.
Browse files Browse the repository at this point in the history
  • Loading branch information
MichaelBone committed Sep 11, 2018
1 parent 07d896e commit 1629443
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scraper.js
Expand Up @@ -91,8 +91,8 @@ function parsePdfs(database, url) {

let selectedPdfUrls = [];
selectedPdfUrls.push(pdfUrls.shift());
if (pdfUrls.length > 0)
selectedPdfUrls.push(pdfUrls[getRandom(1, pdfUrls.length)]);
// if (pdfUrls.length > 0)
// selectedPdfUrls.push(pdfUrls[getRandom(1, pdfUrls.length)]);

// Read and parse each PDF, extracting the development application text.

Expand Down

0 comments on commit 1629443

Please sign in to comment.