def parse_pdf_pypdf2(self, f, fpath):
        try:
            pdf = PdfFileReader(f, strict = False)

            if self.dedup:
                self.dedup_store = set()

            self.handler.print_header(fpath)
            page_num = 0
            for page in pdf.pages:
                page_num += 1

                data = page.extractText()

                self.parse_page(fpath, data, page_num)
            self.handler.print_footer(fpath)
        except (KeyboardInterrupt, __HOLE__):
            raise
        except Exception as e:
            self.handler.print_error(fpath, e)
dataset/ETHPy150Open armbues/ioc_parser/iocp.py/IOC_Parser.parse_pdf_pypdf2