from pdfplumber.pdf import PDF
import pdfplumber.utils
import pdfminer
import pdfminer.pdftypes
pdfminer.pdftypes.STRICT = False

VERSION_TUPLE = (0, 0, 3)
VERSION = ".".join(map(str, VERSION_TUPLE))

def load(file_or_buffer, **kwargs):
    return PDF(file_or_buffer, **kwargs)

def from_path(path, **kwargs):
    with open(path, "rb") as f:
        return PDF(f, **kwargs)

def set_debug(debug=0):
    pdfminer.debug = debug

set_debug(0)

@@ -121,16 +121,50 @@
  = False
+%0Apdfminer.pdfinterp.STRICT = False
 %0A%0AVERSIO

Set pdfinterp.strict = False