dbashford / textract

node.js module for extracting text from html, pdf, doc, docx, xls, xlsx, csv, pptx, png, jpg, gif, rtf and more!

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Support application/vnd.ms-excel.sheet.binary.macroenabled.12

titarenko opened this issue · comments

Hi,

Thanks for great project!

Could you add support for application/vnd.ms-excel.sheet.binary.macroenabled.12?

Currently (version 1.2.1) extraction ends with:

textract.fromFileWithPath('18.xlsb', console.log);
{ [Error: Error for type: [[ application/vnd.ms-excel.sheet.binary.macroenabled.12 ]], file: [[ 18.xlsb ]]] typeNotFound: true } null

Looks like a casing problem (macroenabled vs macroEnabled) as textract does have support for this. Should be a quick fix. Want to get this into 1.3, though. Been bogged down by work and sick kids lately but need to push through to get that out.