forked from Ponysearch/Ponysearch
fixed linting issues and updated brand env
This commit is contained in:
parent
7360f00ecb
commit
62d8935e01
2 changed files with 4 additions and 4 deletions
|
@ -4,7 +4,7 @@
|
||||||
Derpibooru (Images)
|
Derpibooru (Images)
|
||||||
"""
|
"""
|
||||||
|
|
||||||
from urllib.parse import urlencode, urlparse, urlunparse, parse_qsl
|
from urllib.parse import urlencode
|
||||||
from json import loads
|
from json import loads
|
||||||
|
|
||||||
# about
|
# about
|
||||||
|
@ -43,8 +43,8 @@ def response(resp):
|
||||||
{
|
{
|
||||||
'template': 'images.html',
|
'template': 'images.html',
|
||||||
'url': 'https://derpibooru.org/images/' + result.get('id'),
|
'url': 'https://derpibooru.org/images/' + result.get('id'),
|
||||||
'thumbnail_src': result.get(['representations']['thumb']),
|
'thumbnail_src': result.get(result['representations']['thumb']),
|
||||||
'img_src': result.get(['representations']['full']),
|
'img_src': result.get(result['representations']['full']),
|
||||||
'title': result.get('name') or 'unknown',
|
'title': result.get('name') or 'unknown',
|
||||||
'content': result.get('description') or '',
|
'content': result.get('description') or '',
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
export SEARXNG_URL=''
|
export SEARXNG_URL=''
|
||||||
export SEARXNG_PORT='8888'
|
export SEARXNG_PORT='8888'
|
||||||
export SEARXNG_BIND_ADDRESS='127.0.0.1'
|
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'
|
export GIT_BRANCH='master'
|
||||||
|
|
Loading…
Reference in a new issue