fixed linting issues and updated brand env

This commit is contained in:
pau sch 2022-07-14 14:47:26 +02:00
parent 7360f00ecb
commit 62d8935e01
2 changed files with 4 additions and 4 deletions

View file

@ -4,7 +4,7 @@
Derpibooru (Images)
"""
from urllib.parse import urlencode, urlparse, urlunparse, parse_qsl
from urllib.parse import urlencode
from json import loads
# about
@ -43,8 +43,8 @@ def response(resp):
{
'template': 'images.html',
'url': 'https://derpibooru.org/images/' + result.get('id'),
'thumbnail_src': result.get(['representations']['thumb']),
'img_src': result.get(['representations']['full']),
'thumbnail_src': result.get(result['representations']['thumb']),
'img_src': result.get(result['representations']['full']),
'title': result.get('name') or 'unknown',
'content': result.get('description') or '',
}

View file

@ -1,5 +1,5 @@
export SEARXNG_URL=''
export SEARXNG_PORT='8888'
export SEARXNG_BIND_ADDRESS='127.0.0.1'
export GIT_URL='https://github.com/searxng/searxng'
export GIT_URL='https://github.com/Fauli1221/PonySearch'
export GIT_BRANCH='master'