修改默认导出格式为xls

This commit is contained in:
shmilylty
2019-08-18 19:27:09 +08:00
parent 32b06362bd
commit 0e88591a3b
+1 -6
View File
@@ -18,7 +18,7 @@ class Collect(object):
self.collect_func = [] self.collect_func = []
self.path = None self.path = None
self.export = export self.export = export
self.format = 'xlsx' self.format = 'xls'
def get_mod(self): def get_mod(self):
""" """
@@ -71,11 +71,6 @@ class Collect(object):
for thread in threads: for thread in threads:
thread.join() thread.join()
# db = Database()
# db.create_table(self.domain)
# db.copy_table(self.domain, self.domain+'_collect')
# db.remove_invalid(self.domain)
# db.deduplicate_subdomain(self.domain)
# 数据库导出 # 数据库导出
if self.export: if self.export:
if not self.path: if not self.path: