{% if vt %}

Virus Total

{% for url, entries in vt.items() %}

URL
{{ url }}

{% if entries['malicious'] %}

Detected as malicious by the following vendors

{% for e in entries['malicious'] %}
{{ e[0] }}
{{ e[1] }}
{% endfor %}
{% else %}

No vendors consider this URL as malicious.

{% endif%}
Full report on VirusTotal
{% endfor %} {% endif%} {% if pi%}

Phishing Initiative

{% for url, tag in pi.items() %}

URL
{{ url }}

This URL is tagged as {{ tag }} on Phishing Initiative
{% endfor %} {% endif%}