added Hasaki crawler
This commit is contained in:
parent
b6bd5ca74b
commit
291f094cfc
|
@ -97,9 +97,9 @@ def init_tracker_tab(cur):
|
||||||
flag int
|
flag int
|
||||||
)""")
|
)""")
|
||||||
|
|
||||||
logging.info("++++++++++++++++++++++++++++++++++++++")
|
# logging.info("++++++++++++++++++++++++++++++++++++++")
|
||||||
cur.execute(f"""select * from process_tracker""")
|
# cur.execute(f"""select * from process_tracker""")
|
||||||
logging.info(cur.fetchall())
|
# logging.info(cur.fetchall())
|
||||||
|
|
||||||
cur.execute(f"""select * from process_tracker where process = 'category'""")
|
cur.execute(f"""select * from process_tracker where process = 'category'""")
|
||||||
if cur.fetchone() is None:
|
if cur.fetchone() is None:
|
||||||
|
@ -113,7 +113,7 @@ def init_tracker_tab(cur):
|
||||||
if cur.fetchone() is None:
|
if cur.fetchone() is None:
|
||||||
cur.execute(f"""insert into process_tracker (process, flag) values('product_info', 0)""")
|
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""")
|
cur.execute(f"""select * from process_tracker""")
|
||||||
logging.info(cur.fetchall())
|
logging.info(cur.fetchall())
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue