{{ config.SITE_NAME }} Torrent File RSS RSS Feed for {{ term }} {{ url_for('home', _external=True) }} {% for torrent in torrent_query %} {{ torrent.display_name }} {# #} {% if use_elastic %} {% if torrent.has_torrent and not magnet_links %} {{ url_for('download_torrent', torrent_id=torrent.meta.id, _external=True) }} {% else %} {{ create_magnet_from_info(torrent.display_name, torrent.info_hash) }} {% endif %} {{ url_for('view_torrent', torrent_id=torrent.meta.id, _external=True) }} {{ torrent.created_time|rfc822_es }} {{- torrent.seed_count }} {{- torrent.leech_count }} {{- torrent.download_count }} {{- torrent.info_hash }} {% else %} {% if torrent.has_torrent and not magnet_links %} {{ url_for('download_torrent', torrent_id=torrent.id, _external=True) }} {% else %} {{ torrent.magnet_uri }} {% endif %} {{ url_for('view_torrent', torrent_id=torrent.id, _external=True) }} {{ torrent.created_time|rfc822 }} {{- torrent.stats.seed_count }} {{- torrent.stats.leech_count }} {{- torrent.stats.download_count }} {{- torrent.info_hash_as_hex }} {% endif %} {% set cat_id = use_elastic and ((torrent.main_category_id|string) + '_' + (torrent.sub_category_id|string)) or torrent.sub_category.id_as_string %} {{- cat_id }} {{- category_name(cat_id) }} {{- torrent.filesize | filesizeformat(True) }} {% endfor %}