logo

searx

My custom branche(s) on searx, a meta-search engine git clone https://hacktivis.me/git/searx.git
commit: 2c15546518c31e73fa443df129f75c7fad5d9c00
parent 4238812a5190834da06bbcd148e6d551713c1a01
Author: Cqoicebordel <Cqoicebordel@users.noreply.github.com>
Date:   Sat, 17 Jan 2015 19:28:11 +0100

Tiny forgots

Diffstat:

Msearx/engines/google_images.py1-
Msearx/templates/oscar/result_templates/images.html2+-
2 files changed, 1 insertion(+), 2 deletions(-)

diff --git a/searx/engines/google_images.py b/searx/engines/google_images.py @@ -43,7 +43,6 @@ def response(resp): # parse results for result in search_res['responseData']['results']: - print result href = result['originalContextUrl'] title = result['title'] if not result['url']: diff --git a/searx/templates/oscar/result_templates/images.html b/searx/templates/oscar/result_templates/images.html @@ -12,7 +12,7 @@ <h4 class="modal-title">{% if result.engine~".png" in favicons %}{{ draw_favicon(result.engine) }} {% endif %}{{ result.title|striptags }}</h4> </div> <div class="modal-body"> - <img class="img-responsive center-block" src="{{ result.thumbnail_src }}" alt="{{ result.title|striptags }}"> + <img class="img-responsive center-block" src="{{ image_proxify(result.thumbnail_src) }}" alt="{{ result.title|striptags }}"> {% if result.content %}<p class="result-content">{{ result.content|safe }}</p>{% endif %} </div> <div class="modal-footer">