Closed riyaj8888 closed 1 year ago
import tika from tika import parser tika.initVM() parsed = parser.from_file(file_path) print(parsed["metadata"]) print(parsed["content"])
URLError
2023-09-12 15:50:10,306 [MainThread ] [INFO ] Retrieving C:\Users\user\Downloads\apache.md5 to C:\Users\user\AppData\Local\Temp\tika-server.jar.md5.
hi @riyaj8888 make sure your temporary folder is writeable and you are connected to the Internet.
import tika from tika import parser tika.initVM() parsed = parser.from_file(file_path) print(parsed["metadata"]) print(parsed["content"])
URLError
2023-09-12 15:50:10,306 [MainThread ] [INFO ] Retrieving C:\Users\user\Downloads\apache.md5 to C:\Users\user\AppData\Local\Temp\tika-server.jar.md5.