Added top websites scatter graph

This commit is contained in:
Simon
2018-06-20 12:21:34 -04:00
parent 7400bdc2a9
commit cf51bb381c
5 changed files with 128 additions and 3 deletions

View File

@@ -234,6 +234,13 @@ class Database:
yield doc
def join_website_on_stats(self, stats):
websites = self.get_all_websites()
for website in stats["website_scatter"]:
website[0] = websites.get(website[0], "[DELETED]")
def add_blacklist_website(self, url):
with sqlite3.connect(self.db_path) as conn: