{% if i['server']=='web' %}
{% if i['port']==443 %}
{{ i['ip'] }}:{{ i['port'] }}
{% else %}
{{ i['ip'] }}:{{ i['port'] }}
{% endif %}
{% else %}
{{ i['ip'] }}:{{ i['port'] }}
{% endif %}
{{ i['server'] }}
{% if 'tag' in i['webinfo'] and i['webinfo']['tag'] %}
{% for t in i['webinfo']['tag'] %}
{{ t }}
{% endfor %}
{% endif %}
{% if 'title' in i['webinfo'] and i['webinfo']['title'] %}
{{ i['webinfo']['title'] }}
{% endif %}
{{ i['time'].strftime('%Y-%m-%d %H:%M:%S') }}
{% if i['hostname'] %}
HostName: {{ i['hostname'] }}
{% endif %}Banner: {{ i['banner'] }}