From 515249d4f7efb795bd66078c2dcee1490adf2075 Mon Sep 17 00:00:00 2001 From: zy123 <646228430@qq.com> Date: Sat, 15 Feb 2025 22:32:27 +0800 Subject: [PATCH] =?UTF-8?q?2.15=20=E5=BA=94=E8=AF=A5=E6=98=AFpypdf2?= =?UTF-8?q?=E5=BA=93=E7=9A=84=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- flask_app/货物标/截取pdf货物标版.py | 1 - 1 file changed, 1 deletion(-) diff --git a/flask_app/货物标/截取pdf货物标版.py b/flask_app/货物标/截取pdf货物标版.py index ebb6138..f04981c 100644 --- a/flask_app/货物标/截取pdf货物标版.py +++ b/flask_app/货物标/截取pdf货物标版.py @@ -23,7 +23,6 @@ def extract_pages(pdf_path, output_folder, begin_pattern, begin_page, end_patter except Exception as e: print(f"Error processing {pdf_path}: {e}") return "" -r'^第[一二三四五六七八九十百千]+(?:章|部分)(?!.*说明).*(?:采购.*?(?:内容|要求|需求)|(招标|项目|货物)(?:内容|要求|需求)).*|' def get_patterns_for_procurement(): begin_pattern = regex.compile( r'(?