Merge pull request #609 from aurimasv/retrieve-meta-max-pages
Allow MAX_PAGES (for retrieving metadata) to be user-adjustable
This commit is contained in:
commit
55d84bcbf3
1 changed files with 1 additions and 1 deletions
|
@ -70,7 +70,7 @@ var Zotero_RecognizePDF = new function() {
|
|||
* @return {Promise} A promise resolved when PDF metadata has been retrieved
|
||||
*/
|
||||
this.recognize = function(file, libraryID, stopCheckCallback) {
|
||||
const MAX_PAGES = 7;
|
||||
const MAX_PAGES = 15;
|
||||
var me = this;
|
||||
|
||||
return _extractText(file, MAX_PAGES).then(function(lines) {
|
||||
|
|
Loading…
Reference in a new issue