chat-backend/scraping/templates/scraping/create_site.html
Django Template a0fce0b484 Initial commit: Django chat backend with enhanced web scraping
Features:
- Django REST API backend
- Multi-strategy web scraping system (Beautiful Soup, Playwright, Firecrawl)
- Anti-detection features (proxy rotation, user-agent rotation)
- Data export functionality (JSON, CSV, TXT)
- Business and CrawledPage models
- Enhanced crawling service with fallback mechanisms

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-09-21 11:01:50 +05:30

37 lines
1.2 KiB
HTML

{% extends 'scraping/base.html' %}
{% block title %}Add New Site - Chat Backend{% endblock %}
{% block content %}
<h2>Add New Site</h2>
<div class="card">
<form method="post">
{% csrf_token %}
<div class="form-group">
<label for="name">Site Name:</label>
<input type="text" id="name" name="name" required placeholder="e.g., My Company Website">
</div>
<div class="form-group">
<label for="url">Website URL:</label>
<input type="url" id="url" name="url" required placeholder="https://example.com">
</div>
<div style="display: flex; gap: 10px;">
<button type="submit" class="btn btn-success">Create Site</button>
<a href="{% url 'site_list' %}" class="btn" style="background: #6c757d;">Cancel</a>
</div>
</form>
</div>
<div class="card" style="background: #f8f9fa;">
<h3>How it works</h3>
<ol>
<li><strong>Add your website</strong> - Enter the name and URL</li>
<li><strong>Scrape content</strong> - We'll extract company info using Firecrawl AI</li>
<li><strong>Review results</strong> - View the extracted content and data</li>
</ol>
</div>
{% endblock %}