Skip to content

Commit

Permalink
Merge pull request #1661 from blacklanternsecurity/fix-unstructured
Browse files Browse the repository at this point in the history
Unstructured - Temporary Fix
  • Loading branch information
TheTechromancer authored Aug 15, 2024
2 parents 1220598 + 5ce846f commit a4bea60
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion bbot/modules/unstructured.py
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,9 @@ class unstructured(BaseModule):
}

deps_apt = ["libmagic-dev", "poppler-utils", "tesseract-ocr", "libreoffice", "pandoc"]
deps_pip = ["unstructured[all-docs]"]
deps_pip = [
"git+https://github.com/Unstructured-IO/unstructured@9b778e270dd8547476370a9417520679cd46c802#egg=unstructured[all-docs]"
]

async def setup(self):
self.extensions = list(set([e.lower().strip(".") for e in self.config.get("extensions", [])]))
Expand Down

0 comments on commit a4bea60

Please sign in to comment.