diff --git a/src/html_index_domains.py b/src/html_index_domains.py index 309fcd9..a6748c0 100755 --- a/src/html_index_domains.py +++ b/src/html_index_domains.py @@ -107,13 +107,13 @@ def gen_lookup(html_dir, doms_dict, names_dict, title): mylib.json_write(mylib.path_add(html_dir, 'doms.json'), doms_dict) -def gen_stats(c_apps, c_domains, title): +def gen_results(c_apps, c_domains, title): [c_recordings, c_logs] = index_meta.get_total_counts() print(' {} apps'.format(c_apps)) print(' {} domains'.format(c_domains)) print(' {} recordings'.format(c_recordings)) print(' {} logs'.format(c_logs)) - HTML.write(mylib.path_out('stats'), ''' + HTML.write(mylib.path_out('results'), '''

{}

The AppCheck database currently contains {:,} apps with a total of {:,} unique domains.

Collected through {:,} recordings with {:,} individual requests.

@@ -124,7 +124,7 @@ def gen_stats(c_apps, c_domains, title):
  • List of Trackers
  • '''.format(title, c_apps, c_domains, c_recordings, c_logs), title=title) mylib.symlink(index_meta.fname_app_rank(), - mylib.path_out('stats', 'rank.json')) # after HTML.write + mylib.path_out('results', 'rank.json')) # after HTML.write def process(): @@ -153,8 +153,8 @@ def process(): json=index_domains.load(tracker=True), title='Tracker', symlink=index_domains.fname_tracker()) # Stats - print(' Stats') - gen_stats(app_count, dom_count, title='Results') + print(' Results') + gen_results(app_count, dom_count, title='Results') print('') diff --git a/templates/base.html b/templates/base.html index cd2c9ad..a2f4182 100644 --- a/templates/base.html +++ b/templates/base.html @@ -22,7 +22,7 @@