logo

searx

My custom branche(s) on searx, a meta-search engine git clone https://hacktivis.me/git/searx.git
commit: 6503fdf2aab98ce36571784e4ef7b9ac697ae8e3
parent a61a96d975916da14cae28040dcaa527d8599b75
Author: Adam Tauber <asciimoo@gmail.com>
Date:   Thu, 15 Jan 2015 18:40:19 +0100

[enh] add cpp language rewrite rule

Diffstat:

Msearx/engines/searchcode_code.py3++-
1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/searx/engines/searchcode_code.py b/searx/engines/searchcode_code.py @@ -23,7 +23,8 @@ search_url = url+'api/codesearch_I/?{query}&p={pageno}' # special code-endings which are not recognised by the file ending code_endings = {'cs': 'c#', 'h': 'c', - 'hpp': 'cpp'} + 'hpp': 'cpp', + 'cxx': 'cpp'} # do search-request