22 lines
632 B
HTML
22 lines
632 B
HTML
{% extends "base.html" %}
|
|
{% block title %}Procesar Fuente URL{% endblock %}
|
|
|
|
{% block content %}
|
|
<h1>Procesar noticias de una Fuente</h1>
|
|
|
|
<div class="card">
|
|
<form method="post" action="{{ url_for('scrape_url') }}">
|
|
|
|
<label for="source_id">Fuente:</label>
|
|
<select id="source_id" name="source_id" required>
|
|
<option value="">— Selecciona —</option>
|
|
{% for f in fuentes %}
|
|
<option value="{{ f.id }}">{{ f.nombre }}</option>
|
|
{% endfor %}
|
|
</select>
|
|
|
|
<button class="btn" style="margin-top:15px;">Procesar</button>
|
|
</form>
|
|
</div>
|
|
{% endblock %}
|
|
|