All checks were successful
Deploy to Server / deploy (push) Successful in 11s
54 lines
2.3 KiB
HTML
54 lines
2.3 KiB
HTML
{% extends "base.html" %}
|
|
{% block title %}
|
|
Dataset
|
|
{% endblock title %}
|
|
{% block content %}
|
|
<main>
|
|
<h1>Dataset Backups</h1>
|
|
<section>
|
|
<h2>About this dataset</h2>
|
|
<p>This site tracks and publishes open Twitch and Kick drop campaign data.</p>
|
|
<p>
|
|
The exported datasets on this page are released under <strong>CC0</strong> so you can reuse them freely.
|
|
The underlying source data is scraped from Twitch/Kick APIs and pages, so we do not control the
|
|
upstream content and cannot guarantee upstream accuracy or permanence.
|
|
</p>
|
|
<p>Note that some drops has missing or incomplete data due to Twitch API limitations.</p>
|
|
<p>
|
|
Need a special format for your workflow or research pipeline?
|
|
<a href="https://github.com/TheLovinator1/ttvdrops/issues">Contact me via GitHub issues</a>
|
|
and describe what you need.
|
|
</p>
|
|
</section>
|
|
{% if datasets %}
|
|
<table>
|
|
<thead>
|
|
<tr>
|
|
<th>Name</th>
|
|
<th>Size</th>
|
|
<th>Updated</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
{% for dataset in datasets %}
|
|
<tr">
|
|
<td>
|
|
<a href="{% url 'core:dataset_backup_download' dataset.download_path %}">{{ dataset.name }}</a>
|
|
</td>
|
|
<td>{{ dataset.size }}</td>
|
|
<td>
|
|
<time datetime="{{ dataset.updated_at|date:'c' }}"
|
|
title="{{ dataset.updated_at|date:'DATETIME_FORMAT' }}">
|
|
{{ dataset.updated_at|timesince }} ago ({{ dataset.updated_at|date:'M d, Y H:i' }})
|
|
</time>
|
|
</td>
|
|
</tr>
|
|
{% endfor %}
|
|
</tbody>
|
|
</table>
|
|
<p>Found {{ dataset_count }} datasets.</p>
|
|
{% else %}
|
|
<p>No dataset backups found.</p>
|
|
{% endif %}
|
|
</main>
|
|
{% endblock content %}
|