def parse(self): db_path = model_map.md5(self.cache, self.root.AbsolutePath) self.sogoudb.db_create(db_path) self.parse_search() self.sogoudb.db_close() tmp_dir = ds.OpenCachePath("tmp") PA_runtime.save_cache_path(bcp_gis.NETWORK_APP_MAP_SOGOU, db_path, tmp_dir) generate = model_map.Genetate(db_path) tmpresult = generate.get_models() return tmpresult
def parse(self): db_path = model_map.md5(self.cache, self.root.AbsolutePath) self.blued.db_create(db_path) self.main() self.blued.db_close() im_models = model_im.GenerateModel(db_path).get_models() # map_models = model_map.Genetate(db_path).get_models() results = [] results.extend(im_models) # results.extend(map_models) return results
def parse(self): db_path = model_map.md5(self.cache, self.root.AbsolutePath) self.qunar_db.db_create(db_path) self.main() self.qunar_db.db_close() tmp_dir = ds.OpenCachePath("tmp") PA_runtime.save_cache_path("05005", db_path, tmp_dir) im_models = model_im.GenerateModel(db_path).get_models() map_models = model_map.Genetate(db_path).get_models() results = [] results.extend(im_models) results.extend(map_models) return results
def parse(self): db_path = model_map.md5(self.cache, self.root.AbsolutePath) self.bulletMessage.db_create(db_path) self.get_user_friends() self.get_messages() self.get_feeds() self.bulletMessage.db_close() tmp_dir = ds.OpenCachePath("tmp") # PA_runtime.save_cache_path("05005", db_path, tmp_dir) im_models = model_im.GenerateModel(db_path).get_models() # map_models = model_map.Genetate(db_path).get_models() results = [] results.extend(im_models) # results.extend(map_models) return results
def other_parse(self): db_path = model_map.md5(self.cache, self.root.AbsolutePath) self.blued.db_create(db_path) self.get_account(self.root) node_lists = self.root.Parent.Children if len(node_lists) == 0: return for node in node_lists: if node.Name.endswith("DB.sqlite"): account_id = node.Name.replace("DB.sqlite", "") self.get_groups_friends(node, account_id) self.get_messages(node, account_id) self.blued.db_close() tmp_dir = ds.OpenCachePath("tmp") PA_runtime.save_cache_path("05005", db_path, tmp_dir) im_models = model_im.GenerateModel(db_path).get_models() # map_models = model_map.Genetate(db_path).get_models() results = [] if results: results.extend(im_models) # results.extend(map_models) return results