{% extends "base.html" %} {% block title %}Configure source ยท What2Do{% endblock %} {% block content %}
SOURCE CONFIGURATION
Configure website
Auto-detect standard HTML or configure a reusable extraction strategy.
โ† Sources
{% if detect_message %}
{{ detect_message }} Review the strategy below before saving.
{% endif %} {% if preview_error %}
Detection or preview failed: {{ preview_error }}
{% endif %}
Website and venue
Source name
Page URL
Venue name
Venue address
Latitude
Longitude
Timezone
Visual selector picker
Loads a sanitized, non-interactive copy of the downloaded HTML. Dynamic JavaScript content may not appear.
Extraction strategy โ€” advanced
HTML mode uses the convenient selector fields below. JSON and HTML-fragment modes use the generic JSON strategy directly.
Event container selector
Title selector
Date or range selector
Time selector
Link selector
Description selector
Location selector
Date format
Strategy template
Persisted strategy JSON
Supports request configuration, dotted JSON paths, CSS selectors and attributes, pagination, joins, and response limits. See STRATEGIES.md.
Scheduling
Crawl every (minutes)
{% if source.get('id') %}{% endif %}
{% if preview is not none %}
Preview ({{ preview|length }})
{% for event in preview %}
{{ event.title }}{{ event.starts_at }}{% if event.ends_at %} โ†’ {{ event.ends_at }}{% endif %}
{% else %}

No events matched this strategy.

{% endfor %}
{% endif %} {% endblock %} {% block scripts %}{% endblock %}