Skip to content

Commit

Permalink
Merge branch 'master' of github.com:shebinleo/pdf2html
Browse files Browse the repository at this point in the history
  • Loading branch information
svtd committed Feb 8, 2022
2 parents 1eaf813 + 40830f9 commit e3efe6c
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -110,5 +110,5 @@ Sometimes downloading the dependencies might be too slow or unable to download i
cd node_modules/pdf2html/vendor
# These URLs come from https://github.com/shebinleo/pdf2html/blob/master/postinstall.js#L6-L7
wget https://dlcdn.apache.org/pdfbox/2.0.25/pdfbox-app-2.0.25.jar
wget https://dlcdn.apache.org/tika/2.2.1/tika-app-2.2.1.jar
wget https://dlcdn.apache.org/tika/2.3.0/tika-app-2.3.0.jar
```
2 changes: 1 addition & 1 deletion constants.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ const path = require('path')
module.exports = {

VENDOR_PDF_BOX_JAR: 'pdfbox-app-2.0.25.jar',
VENDOR_TIKA_JAR: 'tika-app-2.2.1.jar',
VENDOR_TIKA_JAR: 'tika-app-2.3.0.jar',

DIRECTORY: {
PDF: path.join(__dirname, './files/pdf/'),
Expand Down
2 changes: 1 addition & 1 deletion postinstall.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ const constants = require('./constants')

const dependencies = {
[constants.VENDOR_PDF_BOX_JAR]: 'https://dlcdn.apache.org/pdfbox/2.0.25/pdfbox-app-2.0.25.jar',
[constants.VENDOR_TIKA_JAR]: 'https://dlcdn.apache.org/tika/2.2.1/tika-app-2.2.1.jar'
[constants.VENDOR_TIKA_JAR]: 'https://dlcdn.apache.org/tika/2.3.0/tika-app-2.3.0.jar'
}

const download = (filename) => {
Expand Down

0 comments on commit e3efe6c

Please sign in to comment.