Commit Graph

764 Commits (343e555ee96ab8b40b5ed4dce287331685eff3fa)

Author SHA1 Message Date
Marc Abonce Seguin 343e555ee9 [fix] append http if no scheme is provided in xpath's extact_url
This solves a bug with Yahoo where some results don't specify
a protocol.
7 years ago
Adam Tauber 283f6c9053
Merge pull request #1252 from MarcAbonce/search-languages
[mod] Refactor engine's search language handling
7 years ago
Marc Abonce Seguin 772c048d01 refactor engine's search language handling
Add match_language function in utils to match any user given
language code with a list of engine's supported languages.

Also add language_aliases dict on each engine to translate
standard language codes into the custom codes used by the engine.
7 years ago
Noémi Ványi 8cc529e9a3 forward category to engine without highlighting on the ui 7 years ago
Noémi Ványi d04e471ce5 add findx engine for general, images and videos 7 years ago
Marc Abonce Seguin d1eae9359f fix fetch_langauges to be more accurate
Add languages supported by either all default general engines or 10 engines.
7 years ago
Marc Abonce Seguin 216716db70 [fix] change duckduckgo url to avoid error response 7 years ago
Adam Tauber 03d7a8f065 [fix] pep8 7 years ago
Adam Tauber b4c657d227 [enh] add asksteem engine - closes #1163 7 years ago
Noémi Ványi 988cf38196 fix Microsoft Academic engine 7 years ago
Adam Tauber 2f69eaeb2f [fix] fix engine initialization 7 years ago
Noémi Ványi c645915171 fix bing videos engine 7 years ago
Marc Abonce Seguin 829032f306 [fix] read utf-8 files (settings, languages, currency) with python3.5
Related to discussion in #1124
The io.open import is necessary for python2
7 years ago
Adam Tauber 8511e64f35
Merge pull request #1124 from JosephKiranBabu/python3-unicode-support
Make Python 3 able to read settings files with Unicode characters
7 years ago
Noémi Ványi f3aa5ea47d fix yacy result url
Closes #1064
7 years ago
Joseph Nuthalapati bdc803e185
Make Python 3 able to read settings files with Unicode characters
SearX currently doesn't start up when run with Python 3 as it tries to parse the
settings.yml file with ASCII codecs.
There are similar problems with engines_languages.json and currencies.json
Python 3 requires that files with Unicode characters be read with a 'b' flag.
This also works with Python 2 and hence can be integrated into the main source
code.

Tested with the latest Python 3.6.4rc1 on Debian unstable.

Signed-off-by: Joseph Nuthalapati <njoseph@thoughtworks.com>
7 years ago
Noémi Ványi 2d5eed9b59 send constant cookie with query to Google 7 years ago
Adam Tauber 7752b0a807 [fix] gigablast url parameter change - fixes #1107 7 years ago
marc 4d1770398a remove 'all' option from search languages 7 years ago
Adam Tauber 1613c6319e [fix] handle /sorry redirects 7 years ago
Adam Tauber 1088c2a75d [fix] do not crash if publication date is missing in pubmed engine 7 years ago
Adam Tauber 801b5a56ad [fix] multiple fixes in pdbe engine 7 years ago
Adam Tauber 0969e50c5b [fix] convert json engine result attributes to string - closes #1006 7 years ago
Adam Tauber 6eb9503896 [fix] use english in google engine if no language was set - this prevents guessing the language by the IP of the instance 7 years ago
Adam Tauber 6fdb6640d9 [fix] revert language changes to prevent CAPTCHAs 7 years ago
Adam Tauber 9ab8536479 [fix] fix language support of google 7 years ago
pyrrh0n1c 4340c0b16c Fixed typos. 7 years ago
pyrrh0n1c 2231b02add Fixed the currency_convert engine. 7 years ago
Adam Tauber 00a7041daa
Merge pull request #1068 from Apply55gx/genius
Continuation of PR #1004 (seems abandoned)
7 years ago
Adam Tauber 7a9b18e9e9 [mod] add more error handling to json engine II. 7 years ago
Adam Tauber 181f1c6305 [mod] add more error handling to json engine 7 years ago
Noémi Ványi 5954a8e16a minor fix of BASE engine 7 years ago
Noémi Ványi d20bba6dc7 minor fixes of pubmed engine
Closes #1045
7 years ago
jibe-b df0d915806 [add] pubmed engine 7 years ago
Noémi Ványi 9c2b7a82f0 minor fixes of arxiv
Closes #1050
7 years ago
jibe-b e391b2d970 [fix] remove .encode for python3 compatibility 7 years ago
jibe-b 5278fa666c [enh] use format to concatenate strings 7 years ago
jibe-b 3e3672e079 [add] arxiv engine 7 years ago
Apply55gx d800e3fcfa Merge pull request #1 from asciimoo/master
-
7 years ago
Apply55gx 18a4e7035f removed unused indicies array 7 years ago
marc 44085e31d0 update engines_languages.json and languages.py
Also, fix fetch_languages.py so it can run on python3.
7 years ago
marc a524dbb823 [fix] language support for bing images and videos 7 years ago
misnyo 33fd938016 [mod] int_or_zero refactored to searx_utils 7 years ago
misnyo c3232b0e1a Merge branch 'master' into nyaa 7 years ago
Adam Tauber 234366b900 Merge pull request #1018 from misnyo/generalfile
[mod]generalfile engine removed
7 years ago
Adam Tauber c505c3c1ca Merge pull request #1019 from misnyo/gigablast
[fix] gigablast api fix
7 years ago
misnyo b91772eff1 [fix] gigablast pep8 fix 7 years ago
misnyo 01330f71cd [fix] nyaa.si fixed 7 years ago
misnyo 1e2b60f380 [mod] tokyotoshokan dependecy to other engine removed 7 years ago
misnyo 3182ba7069 [fix] google news dom xpath fix 7 years ago