{% if crawl_policy.recursion == CrawlPolicy.CRAWL_NEVER %}
⛔
{% else %}
⚡
{% endif %}
{% if add_to_queue %}
{% if crawl_policy.recursion == CrawlPolicy.CRAWL_ALL %}
Recurse into matching URLs
{% if crawl_policy.recursion_depth > 1 %}
, {{ crawl_policy.recursion_depth }} level{{ crawl_policy.recursion_depth|pluralize }} depth otherwise
{% endif %}
{% elif crawl_policy.recursion == CrawlPolicy.CRAWL_ON_DEPTH %}
Crawl depending on depth
{% else %}
{{ urls|length|pluralize:"Only this URL,Only these URLs" }}
{% endif %}
{% else %}
{% if crawl_policy.recursion == CrawlPolicy.CRAWL_ALL %}
recurse all
{% if crawl_policy.recursion_depth > 1 %}
, {{ crawl_policy.recursion_depth }} level{{ crawl_policy.recursion_depth|pluralize }} depth otherwise
{% endif %}
{% elif crawl_policy.recursion == CrawlPolicy.CRAWL_ON_DEPTH %}
recursion limited
{% else %}
never recurse
{% endif %}
{% endif %}
🌐 {% if add_to_queue %}with{% endif %}
{% if crawl_policy.default_browse_mode == DomainSetting.BROWSE_DETECT %}
{{ settings.SOSSE_DEFAULT_BROWSER|title }}
{% if add_to_queue %}
if necessary
{% else %}
/ Request
{% endif %}
{% elif crawl_policy.default_browse_mode == DomainSetting.BROWSE_CHROMIUM %}
Chromium
{% elif crawl_policy.default_browse_mode == DomainSetting.BROWSE_FIREFOX %}
Firefox
{% else %}
Python Request
{% endif %}
🕑
{% if crawl_policy.recrawl_freq == CrawlPolicy.RECRAWL_FREQ_NONE %}
only once
{% elif crawl_policy.recrawl_freq == CrawlPolicy.RECRAWL_FREQ_CONSTANT %}
{% if add_to_queue %}
every {{ recrawl_every }}
{% else %}
constant
{% endif %}
{% else %}
{% if add_to_queue %}
from every {{ recrawl_min }} to every {{ recrawl_max }}
{% else %}
adaptive
{% endif %}
{% endif %}
{% if crawl_policy.take_screenshots %}
{% if add_to_queue %}
📷 take screenshots
{% else %}
📷 screenshots
{% endif %}
{% endif %}
{% if crawl_policy.snapshot_html %}
{% if add_to_queue %}
🔖 HTML archive
{% else %}
🔖 archive
{% endif %}
{% endif %}
{% with webhooks_count=crawl_policy.webhooks.count %}
{% if webhooks_count %}
📡 {{ webhooks_count }} webhook{{ webhooks_count|pluralize }}
{% endif %}
{% endwith %}