def get_total_domains():
    sqlite = SQLite()
    total_links = sqlite.select_collected_domains()
    total = []
    for link in total_links:
        total.append(link[0])
    return total
def get_waiting_domains():
    sqlite = SQLite()
    return sqlite.select_collected_domains(state=0)
def get_total_domains():
    sqlite = SQLite()
    return sqlite.select_collected_domains()
Beispiel #4
0
 def test_select_domains(self):
     sqlite = SQLite("../../Storage/localdb.db")
     print(sqlite.select_collected_domains(state=2))
     sqlite.close()