{% extends "billy/base.html" %} {% load humanize %} {% load billy_utiltags %} {% block content %}

Run Detail (for the {{ run.abbr }} scraper)

Scrape took place {{ run.scraped.started|date_display }}

{% if run.imported %}

Import Statistics


{% for import in run.imported %} {% endfor %}
Stage Total Inserted Updated
{{ import }} {{ run.imported|key:import|key:'total' }} {{ run.imported|key:import|key:'insert' }} {{ run.imported|key:import|key:'update' }}
{% else %}

No import run

For some reason there was no import run. This may be due to a failure in the scrape. Actually, it most always is, since we'll only pull in run logging when we've got the import flag.
{% endif %}

Scrape Statistics

{% for scrape in run.scraped.run_record %} {% if not scrape.exception %} {% else %} {% endif %} {% endfor %}
Scrape Type Information Details
{{ scrape.type }} {% if scrape.noscraper %} ( no scraper ) {% endif %}took {{ scrape.end_time|minus:scrape.start_time }} SuccessThis stage threw an exception and ended the run.
{{ scrape.exception.type }}: {{ scrape.exception.message }}
{{ scrape.exception.traceback }}

{% endblock %}