Skip to content

Commit

Permalink
Merge pull request #26 from aashari/master
Browse files Browse the repository at this point in the history
update Tika version to 2.3.0
  • Loading branch information
shebinleo authored Feb 8, 2022
2 parents ad2b681 + c602e68 commit 40830f9
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 40830f9

Please sign in to comment.