mirror of
https://github.com/simon987/Simple-Incremental-Search-Tool.git
synced 2025-04-18 17:56:44 +00:00
11 lines
243 B
Python
11 lines
243 B
Python
import os
|
|
|
|
if not os.path.exists("tika"):
|
|
os.mkdir("tika")
|
|
os.putenv("TIKA_PATH", os.path.join(__name__, "tika/"))
|
|
os.putenv("TIKA_LOG_PATH", os.path.join(__name__, "tika/"))
|
|
|
|
from tika import parser as tika, config
|
|
|
|
config.getMimeTypes()
|