Closed acabrol closed 6 years ago
Currently DFM only extract content from webpage.
In ToDo list we expect to extract text from download file also like pdf, doc, docx, ppt, pptx, odt, odp.
Link below is an idea to detect file format: https://stackoverflow.com/questions/38710238/python-download-file-over-http-and-detect-filetype-automatically
Text extraction from several type of documents: http://textract.readthedocs.io/en/stable/
Textract require a file object which can be created with: https://docs.python.org/2/library/tempfile.html
Currently DFM only extract content from webpage.
In ToDo list we expect to extract text from download file also like pdf, doc, docx, ppt, pptx, odt, odp.
Link below is an idea to detect file format: https://stackoverflow.com/questions/38710238/python-download-file-over-http-and-detect-filetype-automatically
Text extraction from several type of documents: http://textract.readthedocs.io/en/stable/
Textract require a file object which can be created with: https://docs.python.org/2/library/tempfile.html