From d1207d1bfb994b6695de68754eb4fe39654204d7 Mon Sep 17 00:00:00 2001 From: rm Date: Tue, 16 Jan 2024 18:32:18 +0800 Subject: [PATCH] =?UTF-8?q?=E5=8A=A0=E5=85=A5=E7=AD=89=E5=BE=85=E6=97=B6?= =?UTF-8?q?=E9=97=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- PT/pt_get_data.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/PT/pt_get_data.py b/PT/pt_get_data.py index 7fdb580..97bbdff 100644 --- a/PT/pt_get_data.py +++ b/PT/pt_get_data.py @@ -76,8 +76,8 @@ class PtGetData: # 获取分页 pages = self.get_common_total_page(doc_html) for i in range(0, pages): + time.sleep(2) self.get_data_by_page(section_name, section_data, i) - # 数据入库 except Exception as e: print(f"页面无法解析,请知晓!!!{e}")