added Hasaki crawler
This commit is contained in:
parent
82a3d9d9b8
commit
1e7dcaa894
|
@ -20,6 +20,7 @@ logging.basicConfig(filename="/home/ubuntu/logs/hasaki_crawler.log",
|
||||||
|
|
||||||
class HasakiCategories:
|
class HasakiCategories:
|
||||||
def __init__(self, config):
|
def __init__(self, config):
|
||||||
|
try:
|
||||||
logging.info("Initializing HasakiSubCategories")
|
logging.info("Initializing HasakiSubCategories")
|
||||||
self.master_category = []
|
self.master_category = []
|
||||||
self.config = config
|
self.config = config
|
||||||
|
@ -41,6 +42,8 @@ class HasakiCategories:
|
||||||
|
|
||||||
self.display = Display(visible=0, size=(800, 600))
|
self.display = Display(visible=0, size=(800, 600))
|
||||||
self.display.start()
|
self.display.start()
|
||||||
|
except Exception as e:
|
||||||
|
logging.info(e)
|
||||||
|
|
||||||
def __del__(self):
|
def __del__(self):
|
||||||
print("Closing connection.....")
|
print("Closing connection.....")
|
||||||
|
|
Loading…
Reference in New Issue