@@ 3,7 3,6 @@ from domain.models import Domain
from alfis_connector import Blocks
from binascii import unhexlify
from domain.utils import get_domain_hash
-from random import choice
def index(request):
@@ 47,24 46,5 @@ def index(request):
"domain_fullmatch": domain_fullmatch,
"key": key,
"query": query,
- "random": choice(
- [
- "cofob.ygg",
- "index.ygg",
- "git.srv",
- "cr.srv",
- "site.srv",
- "rutracker.ygg",
- "linux.ygg",
- "gosuslugi.ygg",
- "yandex.ygg",
- "ru.ygg",
- "home.ygg",
- "lewd.ygg",
- "naturism.ygg",
- "forum.ygg",
- "meduza.ygg",
- ]
- ),
},
)
@@ 1,5 1,5 @@
{% load i18n %}
<form action="{% url 'search' %}" method="get">
- <input class="input" style="height: 25px; width: 200px; margin-right: 5px;" name="query" type="text" required placeholder="{% trans "Example" %}: {{ random }}" value="{{ query }}">
+ <input class="input" style="height: 25px; width: 200px; margin-right: 5px;" name="query" type="text" required placeholder="{% trans "Example" %}: index.ygg" value="{{ query }}">
<button type="submit" style="height: 25px;" class="button">{% trans "Search" %}</button>
</form>=
\ No newline at end of file