logo

searx

My custom branche(s) on searx, a meta-search engine git clone https://hacktivis.me/git/searx.git
commit: 3d61d9b9308df7e07ab5ccee6e2f323652b4be2d
parent 16d15268181d536f1cf7126674619e942fc23b99
Author: Thomas Pointhuber <thomas.pointhuber@gmx.at>
Date:   Tue,  2 Sep 2014 17:13:44 +0200

little refactoring

Diffstat:

Msearx/engines/bing.py1+
Msearx/engines/bing_images.py1+
Msearx/engines/bing_news.py1+
Msearx/engines/deviantart.py2+-
4 files changed, 4 insertions(+), 1 deletion(-)

diff --git a/searx/engines/bing.py b/searx/engines/bing.py @@ -23,6 +23,7 @@ language_support = True base_url = 'https://www.bing.com/' search_string = 'search?{query}&first={offset}' + # do search-request def request(query, params): offset = (params['pageno'] - 1) * 10 + 1 diff --git a/searx/engines/bing_images.py b/searx/engines/bing_images.py @@ -24,6 +24,7 @@ paging = True base_url = 'https://www.bing.com/' search_string = 'images/search?{query}&count=10&first={offset}' + # do search-request def request(query, params): offset = (params['pageno'] - 1) * 10 + 1 diff --git a/searx/engines/bing_news.py b/searx/engines/bing_news.py @@ -24,6 +24,7 @@ language_support = True base_url = 'https://www.bing.com/' search_string = 'news/search?{query}&first={offset}' + # do search-request def request(query, params): offset = (params['pageno'] - 1) * 10 + 1 diff --git a/searx/engines/deviantart.py b/searx/engines/deviantart.py @@ -6,7 +6,7 @@ # @using-api no (TODO, rewrite to api) # @results HTML # @stable no (HTML can change) -# @parse url, title, thumbnail +# @parse url, title, thumbnail, img_src # # @todo rewrite to api