Closed alihammadbaig closed 5 years ago
Change the url to download via the appropriate environment variable:
import os
os.environ['TIKA_SERVER_JAR'] = 'https://repo1.maven.org/maven2/org/apache/tika/tika-server/1.19/tika-server-1.19.jar'
import tika
from tika import parser
That worked for me. Thank you
Thanks a lot. Also worked for me.
Tika was working for me until yesterday but today I get 504 error when tika server is being downloaded. I get the error when the PDF is being read
parsed = parser.from_file('mypdf.pdf')
Here is the error trace
Any suggestions?