From 291f094cfcd9b55eed4793a05194faebea55c25c Mon Sep 17 00:00:00 2001 From: "shariar@raenabeauty.com" Date: Wed, 27 Mar 2024 12:13:06 +0400 Subject: [PATCH] added Hasaki crawler --- hasaki_crawler_engine/hasaki_crawler.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/hasaki_crawler_engine/hasaki_crawler.py b/hasaki_crawler_engine/hasaki_crawler.py index c8dd4a2..50bc697 100644 --- a/hasaki_crawler_engine/hasaki_crawler.py +++ b/hasaki_crawler_engine/hasaki_crawler.py @@ -97,9 +97,9 @@ def init_tracker_tab(cur): flag int )""") - logging.info("++++++++++++++++++++++++++++++++++++++") - cur.execute(f"""select * from process_tracker""") - logging.info(cur.fetchall()) + # logging.info("++++++++++++++++++++++++++++++++++++++") + # cur.execute(f"""select * from process_tracker""") + # logging.info(cur.fetchall()) cur.execute(f"""select * from process_tracker where process = 'category'""") if cur.fetchone() is None: @@ -113,7 +113,7 @@ def init_tracker_tab(cur): if cur.fetchone() is None: cur.execute(f"""insert into process_tracker (process, flag) values('product_info', 0)""") - logging.info("++++++++++++++++++++++++++++++++++++++") + logging.info("++++++++++++++++ process tracker tab status ++++++++++++++++++++++") cur.execute(f"""select * from process_tracker""") logging.info(cur.fetchall())