diff --git a/lookyloo/lookyloo.py b/lookyloo/lookyloo.py index 9c750d26..f77a21c5 100644 --- a/lookyloo/lookyloo.py +++ b/lookyloo/lookyloo.py @@ -565,10 +565,11 @@ class Lookyloo(): with open((capture_dir / 'uuid'), 'r') as f: uuid = f.read() har_files = sorted(capture_dir.glob('*.har')) + html_files = sorted(capture_dir.glob('*.html')) # NOTE: We only index the public captures index = True try: - ct = CrawledTree(har_files, uuid) + ct = CrawledTree(zip(har_files, html_files), uuid) if self.is_public_instance: cache = self.capture_cache(capture_uuid) if cache.get('no_index') is not None: diff --git a/website/web/templates/hostname_popup.html b/website/web/templates/hostname_popup.html index 419311f3..67503d0a 100644 --- a/website/web/templates/hostname_popup.html +++ b/website/web/templates/hostname_popup.html @@ -179,7 +179,7 @@ {% endif %} {{ ressource_legitimacy_details(details['legitimacy'], details['body_size']) }}
The response sould be considered as {% if details[1] is mapping and details[1].get('tag') %} {{ ', '.join(details[1]['tag']) }} @@ -84,7 +85,7 @@ Body size: {{ sizeof_fmt(ressource_size) }} {% else %} unless it is served by the following domain(s): {{ ', '.join(details[1]) }} {%endif%} - +
{%endif%} {%endif%} {% endmacro %}