2017-07-23 19:56:51 +02:00
|
|
|
{% extends "main.html" %}
|
2017-09-07 13:40:42 +02:00
|
|
|
{% block title %}Scrape{% endblock %}
|
2017-07-23 19:56:51 +02:00
|
|
|
|
|
|
|
{% block content %}
|
|
|
|
<div class="container">
|
2017-09-07 13:40:42 +02:00
|
|
|
<h1>Scrape a page</h1>
|
2017-07-23 19:56:51 +02:00
|
|
|
|
2017-09-07 16:22:16 +02:00
|
|
|
<form class="form-inline" role="form" action="scrape" method=post>
|
2017-07-23 19:56:51 +02:00
|
|
|
<div class="form-group">
|
2017-10-10 11:16:16 +02:00
|
|
|
<label for="url">URL to scrape:</label>
|
|
|
|
<input type="text" class="form-control" name="url" id=url placeholder="URL to scrape">
|
|
|
|
<label for="depth">Depth:</label>
|
|
|
|
<select class="form-control" name="depth" id=depth>
|
|
|
|
<option value="1">1</option>
|
|
|
|
<option value="2">2</option>
|
|
|
|
<option value="3">3</option>
|
|
|
|
<option value="4">4</option>
|
|
|
|
<option value="5">5</option>
|
|
|
|
<option value="6">6</option>
|
|
|
|
<option value="7">7</option>
|
|
|
|
<option value="8">8</option>
|
|
|
|
<option value="9">9</option>
|
|
|
|
</select>
|
2019-02-17 18:43:25 +01:00
|
|
|
<label for="listing">Public</label>
|
2019-02-18 14:29:15 +01:00
|
|
|
<input type="checkbox" name="listing" checked="true"></input>
|
2017-07-23 19:56:51 +02:00
|
|
|
</div>
|
2017-09-07 16:22:16 +02:00
|
|
|
<button type="submit" class="btn btn-default">Scrape</button>
|
2017-07-23 19:56:51 +02:00
|
|
|
</form>
|
|
|
|
</div>
|
|
|
|
{% endblock %}
|