{% extends 'scraping/base.html' %} {% block title %}{{ business.name }} - Chat Backend{% endblock %} {% block content %}

{{ business.name }}

Edit Business ← Back to Businesses

Business Information

Website: {{ business.website_url }}

{% if business.description %}

Description: {{ business.description }}

{% endif %} {% if business.industry %}

Industry: {{ business.industry }}

{% endif %}

Status: {{ business.get_status_display }}

Pages: {{ business.scraped_pages }}/{{ business.total_pages }} crawled

Created: {{ business.created_at|date:"M j, Y g:i A" }}

Export Data {% if business.total_pages > 0 %} {% endif %}

Crawled Pages

{% if pages %}
{% for page in pages %}

{{ page.title|default:"Untitled Page" }}

URL: {{ page.url }}

{% if page.description %}

Description: {{ page.description|truncatewords:20 }}

{% endif %}

Crawled: {{ page.crawled_at|date:"M j, Y g:i A" }}

View Content
{% endfor %}
{% else %}

No Pages Crawled Yet

Click "Crawl Website" above to discover and extract content from all pages on the website.

{% endif %}
{% endblock %}