added Hasaki crawler
This commit is contained in:
parent
7c6f41d3f8
commit
e98ad29800
|
@ -48,8 +48,8 @@ class HasakiProductInfo:
|
||||||
|
|
||||||
self.db_writer = hasaki_db_writer(config)
|
self.db_writer = hasaki_db_writer(config)
|
||||||
|
|
||||||
self.display = Display(visible=0, size=(800, 600))
|
#self.display = Display(visible=0, size=(800, 600))
|
||||||
self.display.start()
|
#self.display.start()
|
||||||
|
|
||||||
def __del__(self):
|
def __del__(self):
|
||||||
logging.info("Closing connection.....")
|
logging.info("Closing connection.....")
|
||||||
|
@ -89,7 +89,7 @@ class HasakiProductInfo:
|
||||||
|
|
||||||
#time.sleep(random.randint(7, 23))
|
#time.sleep(random.randint(7, 23))
|
||||||
|
|
||||||
self.display.stop()
|
#self.display.stop()
|
||||||
|
|
||||||
|
|
||||||
def get_product_info(self, data):
|
def get_product_info(self, data):
|
||||||
|
|
Loading…
Reference in New Issue