From 0059d08f13b1bf64b3f36ab2cbe89d5fec5d727c Mon Sep 17 00:00:00 2001 From: Cqoicebordel Date: Mon, 15 Dec 2014 03:21:25 +0100 Subject: Rework Flickr Engine Everything was redone to use the API. It needs an API key, but it's worth it. Everything works. Title, Image, Content, URL The API allow lots of things. Thumbnails and date will be easy to add when it will be implemented in Searx. Fix asciimoo/searx#126 --- searx/settings.yml | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) (limited to 'searx/settings.yml') diff --git a/searx/settings.yml b/searx/settings.yml index b51b37f1c..d2c7a32c9 100644 --- a/searx/settings.yml +++ b/searx/settings.yml @@ -65,11 +65,12 @@ engines: # categories : files # shortcut : fc - - name : flickr - engine : flickr - categories : images - shortcut : fl - timeout: 3.0 +# api-key required: https://www.flickr.com/services/apps/create/ +# - name : flickr +# engine : flickr +# categories : images +# shortcut : fl +# api_key: 'apikey' # required! - name : general-file engine : generalfile -- cgit v1.2.3 From 930f724ec639c167d870d716240ac5d4512beba2 Mon Sep 17 00:00:00 2001 From: Cqoicebordel Date: Tue, 16 Dec 2014 20:40:03 +0100 Subject: Add an No Api Flickr Engine It uses the webpage json infos to build the results Let the user choose the engine in setting.yml. Noapi active by default + little corrections on Flickr engine --- searx/settings.yml | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) (limited to 'searx/settings.yml') diff --git a/searx/settings.yml b/searx/settings.yml index d2c7a32c9..07cd2ac3e 100644 --- a/searx/settings.yml +++ b/searx/settings.yml @@ -65,12 +65,15 @@ engines: # categories : files # shortcut : fc -# api-key required: https://www.flickr.com/services/apps/create/ -# - name : flickr + - name : flickr + categories : images + shortcut : fl +# You can use the engine using the official stable API, but you need an API key +# See : https://www.flickr.com/services/apps/create/ # engine : flickr -# categories : images -# shortcut : fl # api_key: 'apikey' # required! +# Or you can use the html non-stable engine, activated by default + engine : flickr-noapi - name : general-file engine : generalfile -- cgit v1.2.3 From 550232fc21ff2c3ae9a5de3d8b999de66c96171c Mon Sep 17 00:00:00 2001 From: Cqoicebordel Date: Mon, 22 Dec 2014 01:00:16 +0100 Subject: SubtitleSeeker Engine Add the subtitleseeker engine. --- searx/settings.yml | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'searx/settings.yml') diff --git a/searx/settings.yml b/searx/settings.yml index 8cfe3f886..cc7073181 100644 --- a/searx/settings.yml +++ b/searx/settings.yml @@ -127,6 +127,10 @@ engines: engine : searchcode_code shortcut : scc + - name : subtitleseeker + engine : subtitleseeker + shortcut : ss + - name : startpage engine : startpage shortcut : sp -- cgit v1.2.3 From 829948b85df0510e331372bcd60cb31db9c96a5c Mon Sep 17 00:00:00 2001 From: Cqoicebordel Date: Tue, 23 Dec 2014 01:41:25 +0100 Subject: Add language support Allow the user to select a language. It must be written in english, and capitalized, ie : English, French, German, Hungarian... --- searx/settings.yml | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) (limited to 'searx/settings.yml') diff --git a/searx/settings.yml b/searx/settings.yml index cc7073181..ed22ad90d 100644 --- a/searx/settings.yml +++ b/searx/settings.yml @@ -1,13 +1,13 @@ server: - port : 8888 - secret_key : "ultrasecretkey" # change this! - debug : False # Debug mode, only for development + port : 2722 + secret_key : "8f92c98926f04c8cb2a5fdc3bca19f7c" # change this! + debug : True # Debug mode, only for development request_timeout : 2.0 # seconds base_url : False # Set custom base_url. Possible values: False or "https://your.custom.host/location/" themes_path : "" # Custom ui themes path default_theme : default # ui theme https_rewrite : True # Force rewrite result urls. See searx/https_rewrite.py - useragent_suffix : "" # suffix of searx_useragent, could contain informations like an email address to the administrator + useragent_suffix : "Cqcb Style" # suffix of searx_useragent, could contain informations like an email address to the administrator engines: - name : wikipedia @@ -130,6 +130,9 @@ engines: - name : subtitleseeker engine : subtitleseeker shortcut : ss +# The language is an option. You can put any language written in english +# Examples : English, French, German, Hungarian, Chinese... +# language : English - name : startpage engine : startpage -- cgit v1.2.3 From 2ea55b1c6451e77381bd88dd82f635d48ff1b6fe Mon Sep 17 00:00:00 2001 From: Cqoicebordel Date: Tue, 23 Dec 2014 01:45:39 +0100 Subject: Add language support Allow the user to select a language. It must be written in english, and capitalized, ie : English, French, German, Hungarian... (reverted from commit 829948b85df0510e331372bcd60cb31db9c96a5c) --- searx/settings.yml | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) (limited to 'searx/settings.yml') diff --git a/searx/settings.yml b/searx/settings.yml index ed22ad90d..cc7073181 100644 --- a/searx/settings.yml +++ b/searx/settings.yml @@ -1,13 +1,13 @@ server: - port : 2722 - secret_key : "8f92c98926f04c8cb2a5fdc3bca19f7c" # change this! - debug : True # Debug mode, only for development + port : 8888 + secret_key : "ultrasecretkey" # change this! + debug : False # Debug mode, only for development request_timeout : 2.0 # seconds base_url : False # Set custom base_url. Possible values: False or "https://your.custom.host/location/" themes_path : "" # Custom ui themes path default_theme : default # ui theme https_rewrite : True # Force rewrite result urls. See searx/https_rewrite.py - useragent_suffix : "Cqcb Style" # suffix of searx_useragent, could contain informations like an email address to the administrator + useragent_suffix : "" # suffix of searx_useragent, could contain informations like an email address to the administrator engines: - name : wikipedia @@ -130,9 +130,6 @@ engines: - name : subtitleseeker engine : subtitleseeker shortcut : ss -# The language is an option. You can put any language written in english -# Examples : English, French, German, Hungarian, Chinese... -# language : English - name : startpage engine : startpage -- cgit v1.2.3 From 10e4f6f31631fe51d16b324223525570f3e75850 Mon Sep 17 00:00:00 2001 From: Cqoicebordel Date: Tue, 23 Dec 2014 01:51:07 +0100 Subject: Add language support Allow the user to select a language. It must be written in english, and capitalized, ie : English, French, German, Hungarian... --- searx/settings.yml | 3 +++ 1 file changed, 3 insertions(+) (limited to 'searx/settings.yml') diff --git a/searx/settings.yml b/searx/settings.yml index cc7073181..e3fe9b251 100644 --- a/searx/settings.yml +++ b/searx/settings.yml @@ -130,6 +130,9 @@ engines: - name : subtitleseeker engine : subtitleseeker shortcut : ss +# The language is an option. You can put any language written in english +# Examples : English, French, German, Hungarian, Chinese... +# language : English - name : startpage engine : startpage -- cgit v1.2.3 From 98815a0d6196eb6b9e1d98209043527b9eee33fe Mon Sep 17 00:00:00 2001 From: Thomas Pointhuber Date: Sun, 28 Dec 2014 09:52:03 +0100 Subject: [enh] add turkish translation --- searx/settings.yml | 1 + 1 file changed, 1 insertion(+) (limited to 'searx/settings.yml') diff --git a/searx/settings.yml b/searx/settings.yml index 260b56ca8..2d4366a1c 100644 --- a/searx/settings.yml +++ b/searx/settings.yml @@ -205,3 +205,4 @@ locales: it : Italiano nl : Nederlands ja : 日本語 (Japanese) + tr : Türkçe -- cgit v1.2.3 From e7e298153678fc0e77e24a3ae3b333b1230136b2 Mon Sep 17 00:00:00 2001 From: Cqoicebordel Date: Sun, 28 Dec 2014 22:57:59 +0100 Subject: Digg + Twitter corrections Digg engines, with thumbnails Add pubdate for twitter --- searx/settings.yml | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'searx/settings.yml') diff --git a/searx/settings.yml b/searx/settings.yml index 260b56ca8..584ef6d90 100644 --- a/searx/settings.yml +++ b/searx/settings.yml @@ -44,6 +44,10 @@ engines: - name : ddg definitions engine : duckduckgo_definitions shortcut : ddd + + - name : digg + engine : digg + shortcut : dg - name : wikidata engine : wikidata -- cgit v1.2.3 From 576fdef440e835592f9f5c8dc25398e343687c7a Mon Sep 17 00:00:00 2001 From: Cqoicebordel Date: Sun, 28 Dec 2014 23:23:31 +0100 Subject: Google Play Store Add Google play store apps, movies and music (sound -> gps) --- searx/settings.yml | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) (limited to 'searx/settings.yml') diff --git a/searx/settings.yml b/searx/settings.yml index 584ef6d90..00c12d1ca 100644 --- a/searx/settings.yml +++ b/searx/settings.yml @@ -103,6 +103,33 @@ engines: engine : google_news shortcut : gon + - name : google play apps + engine : xpath + search_url : https://play.google.com/store/search?q={query}&c=apps + url_xpath : //a[@class="title"]/@href + title_xpath : //a[@class="title"] + content_xpath : //a[@class="subtitle"] + categories : files + shortcut : gpa + + - name : google play movies + engine : xpath + search_url : https://play.google.com/store/search?q={query}&c=movies + url_xpath : //a[@class="title"]/@href + title_xpath : //a[@class="title"] + content_xpath : //a[@class="subtitle"] + categories : videos + shortcut : gpm + + - name : google play music + engine : xpath + search_url : https://play.google.com/store/search?q={query}&c=music + url_xpath : //a[@class="title"]/@href + title_xpath : //a[@class="title"] + content_xpath : //a[@class="subtitle"] + categories : music + shortcut : gps + - name : openstreetmap engine : openstreetmap shortcut : osm -- cgit v1.2.3 From 4a195e0b28fdd940e046c442032c816095416fec Mon Sep 17 00:00:00 2001 From: Cqoicebordel Date: Mon, 5 Jan 2015 02:04:23 +0100 Subject: Integrated media in results + Deezer Engine New "embedded" item for the results, allow to give an iframe to display the media directly in the results. Note that the attributes src of the iframes are not set, but instead data-src is set, allowing to only load the iframe when clicked. Deezer engine based on public API (no key). --- searx/settings.yml | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'searx/settings.yml') diff --git a/searx/settings.yml b/searx/settings.yml index e30c52256..70c56fccd 100644 --- a/searx/settings.yml +++ b/searx/settings.yml @@ -35,6 +35,10 @@ engines: engine : currency_convert categories : general shortcut : cc + + - name : deezer + engine : deezer + shortcut : dz - name : deviantart engine : deviantart -- cgit v1.2.3