mirror of
https://github.com/searxng/searxng.git
synced 2025-07-23 05:09:17 +02:00
[enh] 1st version of vimeo search engine (need improvments)
This commit is contained in:
parent
0d93ad2018
commit
68364df342
2 changed files with 49 additions and 1 deletions
|
@ -107,7 +107,7 @@ def index():
|
|||
if len(result['url']) > 74:
|
||||
result['pretty_url'] = result['url'][:35] + '[..]' + result['url'][-35:]
|
||||
else:
|
||||
result['pretty_url'] = result['url']
|
||||
result['pretty_url'] = result['url']
|
||||
|
||||
if request_data.get('format') == 'json':
|
||||
return Response(json.dumps({'query': query, 'results': results}), mimetype='application/json')
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue