added Hasaki crawler

This commit is contained in:
Shariar Imtiaz 2024-04-03 11:04:55 +04:00
parent 7c6f41d3f8
commit e98ad29800
1 changed files with 3 additions and 3 deletions

View File

@ -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):