2

pdfminer3 is simple tool for extracting text from pdf. While browsing the cite for minimal reproducible example, faced with the problem of spaces missing in extracted text.

A.Ametov
  • 1,790
  • 1
  • 13
  • 20

1 Answers1

3

Solution is to specify laparams next way

from pdfminer3.layout import LAParams
converter = TextConverter(resource_manager, fake_file_handle, laparams=LAParams())
A.Ametov
  • 1,790
  • 1
  • 13
  • 20