wagtail_textract
wagtail_textract copied to clipboard
How to make wagtail_textract work with Media Storage Backend
Hi there,
I am trying to use wagtail_textract
for my project. I tried previously using just textract
but am interested in some of the helper utilities of wagtail_textract
. I am wondering how wagtail_textract
will work in production with Docker and a Media Storage backend, such as Azure.
The line here is referencing a file path:
text = textract.process(document.file.path).strip()
but when in production using a Media Storage backend, it seems like this will fail because it does not have a proper file system. Has this been tested or does anybody know how I might be able to get this to work? Any help would be much appreciated! Let me know if you need any more info about my project setup.