woorst
2434c29dc5
New engine: Genius (lyrics)
2017-08-19 19:05:17 -05:00
marc
3ca9cad927
add bing videos engine
2017-08-05 20:35:57 -05:00
marc
856dfc3018
add google videos
2017-07-26 15:49:16 +02:00
Noémi Ványi
2242000bd4
change unresponsive_engines to a set to eliminate duplication of errors
2017-07-20 13:30:56 +02:00
Noémi Ványi
243d3e4298
show engine errors in infobox && add new error alert
2017-07-12 16:29:11 +02:00
marc
405e5c8f24
[fix] duckduckgo images doesn't fail with countryless language
2017-07-10 18:41:50 +02:00
marc
3b950929b1
[fix] fix duckduckgo's offset
...
First page now starts with 0 offset,
rather than starting on the 30th result.
DuckDuckGo returns 30 results on each page.
2017-05-27 21:12:39 -05:00
marc
c65a409f0d
add duckduckgo images engine
2017-05-23 20:07:09 +02:00
Adam Tauber
8db527c1d2
[fix] use raw response with etree.parsefromstring - Unicode strings with encoding declaration are not supported
2017-05-22 15:36:52 +02:00
marc
9ee8e552da
[fix] bing images
2017-05-17 15:45:55 +02:00
Alexandre Flament
f5128c7cb9
[mod] add/modify image fetching for bing_news, qwant and twitter engines
2017-05-15 17:28:21 +02:00
Adam Tauber
52e615dede
[enh] py3 compatibility
2017-05-15 12:02:30 +02:00
François Revol
45d15bd6f0
Add framalibre engine
...
framalibre.org is a catalogue of Free Software, edited by Framasoft.
For now we pass the thumbnail as img_src as it doesn't seem to be used
for IT...
2017-03-22 00:18:23 +01:00
marc
805fb02ed1
add language support for qwant
...
closes issue #863
2017-03-18 23:44:21 +01:00
Alexandre Flament
e67dfaaac7
Merge branch 'master' into flask_perimeter
2017-01-27 13:47:59 +00:00
Alexandre Flament
7fdfeca3a4
[mod] add a __common__ template that can't be selected but that provides a common place for shared templates.
...
What has been moved into this template :
* opensearch*.xml is always the same whatever the themes.
* the text inside */about.html
2017-01-20 15:40:38 +01:00
David A Roberts
1d30141c20
[enh] show spelling corrections
2017-01-16 13:31:16 +10:00
Alexandre Flament
84a2c97a65
[mod] searx uses flask framework only in webapp.py. Make migration to another framework easier.
2017-01-02 12:06:04 +01:00
Adam Tauber
6bf9c398a7
[fix] use english as default language in bing
...
If no language is specified, bing returns results with multiple languages
for one query which isn't really useful. Setting english as default
insted if nothing.
2016-12-30 18:17:14 +01:00
marc
1175b3906f
change language list to only include languages with a minimum of engines
...
that support them.
users can still query lesser supported through the :lang_code bang.
2016-12-29 01:55:30 -06:00
marc
af35eee10b
tests for _fetch_supported_languages in engines
...
and refactor method to make it testable without making requests
2016-12-15 00:40:21 -06:00
marc
e0c270bd72
tests for language support in engines
2016-12-13 23:51:15 -06:00
marc
f62ce21f50
[mod] fetch supported languages for several engines
...
utils/fetch_languages.py gets languages supported by each engine and
generates engines_languages.json with each engine's supported language.
2016-12-13 19:58:10 -06:00
marc
a11948c71b
Add language support for more engines.
2016-12-13 19:32:43 -06:00
Noémi Ványi
b034356825
add year filter to engines with time range support && tests
...
Following engines does not support "Last year":
* Bing News
* DeviantArt
* DuckDuckGo
* Yahoo
* YouTube (noapi)
2016-12-11 16:58:31 +01:00
Noémi Ványi
c59c76e6ee
add year to time range to engines which support "Last year"
...
Engines:
* Bing images
* Flickr (noapi)
* Google
* Google Images
* Google News
2016-12-11 16:58:31 +01:00
Adam Tauber
9b2bd6847f
[fix] 500px unit tests
2016-12-11 03:30:13 +01:00
Adam Tauber
f6e9c074bb
[fix] vimeo engine change follow-up
2016-12-11 02:33:04 +01:00
Adam Tauber
a2c94895c1
[fix] google news engine change follow-up
2016-12-11 01:03:52 +01:00
Adam Tauber
8116e341cc
[fix] kickass test html escaping
2016-12-09 19:20:55 +01:00
Adam Tauber
fdf63940e8
[fix] tests ++ flickr error
2016-12-09 19:11:22 +01:00
Adam Tauber
971ed0abd1
[enh] add quick answer functionality with an example answerer
2016-11-19 20:53:51 +01:00
Adam Tauber
044809e298
[fix] search mocking in webapp test
2016-11-14 22:21:19 +01:00
Adam Tauber
16ff8d06c7
[fix] bing paging and language support
...
see https://msdn.microsoft.com/en-us/library/ff795620.aspx for bing
specific search operators
closes #755
2016-11-07 22:30:20 +01:00
dalf
fbb080f358
Change plugin API :
...
- pre_search(request, search)
- post_search(request, search)
- on_result(request, search, result)
with
- request is the Flask request
- search a searx.Search instance
- result a searx result as usual
2016-11-02 14:22:16 +01:00
dalf
67e11c42b9
Clean up the architecture
...
Purposes :
- isolate the plugins calls
- distinction between parsing the web request and running the search (Search class). To be able to test code easily, to run searx code outside a web server, to filter the search query parameters with plugins more easily, etc...
Details :
- request.request_data contains request.form or request.args (initialize inside pre_request() function)
- Query class is renamed RawTextQuery
- SearchQuery class defines all search parameters
- get_search_query_from_webapp create a SearchQuery instance (basically the previous Search.__init__ code)
- Search class and SearchWithPlugins class takes a SearchQuery instance as class constructor parameter
- SearchWithPlugins class inherites from Search class, and run plugins
- A dedicated function search_with_plugins executes plugins to have a well define locals() (which is used by the plugins code).
- All plugins code is executed inside the try...except block (webapp.py, index function)
- advanced_search HTTP parameter value stays in webapp.py (it is only part of UI)
- multiple calls to result_container.get_ordered_results() doesn't compute the order multiple time (note : this method was call only once before)
- paging value is stored in the result_container class (compute in the extend method)
- test about engine.suspend_end_time is done during search method call (instead of __init__)
- check that the format parameter value is one of these : html, rss, json, rss (before the html value was assumed but some text formatting wasn't not done)
2016-11-02 14:22:16 +01:00
Noémi Ványi
1490d6bc93
add time range search for flickr
2016-11-01 17:58:29 +01:00
Noémi Ványi
5c02b9ef31
add time range support for bing images
2016-11-01 17:58:29 +01:00
Noémi Ványi
d2e0cbafb2
add time range search for youtube noapi
2016-11-01 17:58:29 +01:00
Noémi Ványi
f70d405202
add time range search for bing news
2016-11-01 17:58:29 +01:00
Noémi Ványi
53c9fde992
fix kickass torrents engine
2016-10-22 05:27:18 +02:00
Alexander Minges
3c5883408c
initial commit of pdbe engine
...
Adds support for queries to the Protein Data Bank Europe (PDBe).
2016-10-13 00:40:38 +02:00
Pydo
55a5b686ed
Merge branch 'master' of https://github.com/asciimoo/searx into feature/seedpeer-engine-integration
...
Resolved conflict searx/settings.yml
2016-10-01 10:46:18 -04:00
Adam Tauber
bee7b497a3
[mod] rename "default" theme to "legacy"
2016-09-22 23:51:07 +02:00
marc
d1d4ed4376
[fix] results with digbit don't truncate anymore
2016-09-20 16:11:33 -05:00
firebovine
f67db1e107
fix tests to reflect: Wolfram|Alpha (input) response
2016-09-10 18:04:24 -04:00
marc
09ee2aa69d
[fix] Result text in Wolfram|Alpha ( #607 )
2016-09-10 17:42:04 -04:00
Pydo
ec4a03628e
Put html fixture in file to be pep8 line length compliant
2016-09-05 15:37:20 -04:00
Pydo
aa85045a7d
Added seedpeer unitests
2016-09-05 14:50:26 -04:00
Noemi Vanyi
aa227180e2
remove self info answers from pages after first one
2016-08-27 16:45:25 +02:00
Noemi Vanyi
6dd5f7a8c9
add digbt unittest
2016-08-13 16:27:16 +02:00
Adam Tauber
eb57481450
[fix] google images paging - closes #571
2016-08-13 01:13:41 +02:00
marc
ad58b14be7
[fix] merge infoboxes based on weight
...
also minor changes in attributes and images from wikidata
2016-08-05 23:51:04 -05:00
marc
a0a1284998
wikidata refactor and more attributes (see issue #560 )
2016-08-05 23:51:04 -05:00
Adam Tauber
350a84520d
[fix] time range detection
2016-07-26 00:28:48 +02:00
Noemi Vanyi
ba590de7f1
[fix] deviantart engine xpaths
2016-07-19 09:37:02 +02:00
Adam Tauber
aa09f963eb
Merge pull request #621 from stepshal/anomalous-backslash-in-string
...
Fix anomalous backslash in string
2016-07-18 22:27:17 +02:00
Adam Tauber
c75d0d1532
[fix] result count tests
2016-07-16 21:53:42 +02:00
Adam Tauber
f7a3e9771d
Merge pull request #615 from mmuman/scanr
...
Add ScanR structures search engine
2016-07-15 13:02:29 +02:00
a01200356
8fc4b8156a
[fix] multilingual duckduckgo
...
only works if both country and language are set
2016-07-12 23:44:39 -05:00
François Revol
1dba6dcbac
Add ScanR structures search engine
...
In theory ScanR should also search for projects but the API is different,
so we'd need another engine.
2016-07-12 15:47:04 +02:00
stepshal
b3ab221b98
Fix anomalous backslash in string
2016-07-11 23:53:13 +07:00
stepshal
cd9b494cb5
Fix quantity of blank lines after code object.
2016-07-10 21:44:27 +07:00
François Revol
b538de568a
Add INA search engine
2016-07-09 22:09:54 +02:00
Adam Tauber
257e52954a
[enh][fix] update to latest dependencies ++ fix tests & travis test runner
...
WARNING: dependency changes
2016-07-04 22:46:43 +02:00
Maxqia
56e53c9297
[fix] currency_convert: make unit tests pass
...
also make regex more efficent and normalize 's'es
2016-05-03 18:59:30 -07:00
a01200356
6dca14e95d
[enh] multilingual duckduckgo_definitions
2016-04-17 16:34:46 -05:00
a01200356
8d335dbdae
[enh] wikipedia infobox
...
creates simple multilingual infobox using wikipedia's api
2016-04-17 16:22:19 -05:00
Kirill Isakov
d98024c26e
Update Reddit unit test -- check for img_src
2016-04-16 16:45:49 +06:00
Adam Tauber
85c0351dca
Merge pull request #526 from ukwt/anime
...
Add a few search engines
2016-04-14 10:59:31 +02:00
Kirill Isakov
d54e82dfb9
Revert to using random UA in Reddit search engine
2016-04-13 22:06:00 +06:00
Adam Tauber
5544fdb756
Merge pull request #531 from guyou/add-doku-engine
...
Add doku engine
2016-04-12 13:54:12 +02:00
Noemi Vanyi
f0fd9ad628
add unit && robot tests
2016-04-09 01:09:26 +02:00
Noemi Vanyi
fe691a0988
new preferences handling
...
Preferences class was introduced in order to handle user preferences. Right now
it parses cookies and the form in preferences. Also it can retrieve settings
based on the name of the setting.
ATTENTION
Please note that engine preferences are handled differently from now on. So it
introduces incompatible changes. Every user who has saved preferences should reset and
save his/her settings again.
This change was needed, because everytime a default disabled engine was
added saved user preferences would broke. Now engine setting tracking is
fixed.
2016-04-09 01:08:44 +02:00
Adam Tauber
9331fc28a8
[fix] broken google images parsing
2016-04-07 08:07:17 +02:00
Guilhem Bonnefille
bb29a910f2
Fix pep8 about too long lines
...
Code is refactored and example data are truncated.
2016-04-04 13:38:57 +02:00
Guilhem Bonnefille
cf09b500f3
Add support for dokuwiki engine
2016-04-03 22:03:41 +02:00
Kirill Isakov
d0001f10e6
Add searx user agent to Reddit engine request to comply with API usage terms
2016-03-30 17:30:46 +06:00
Kirill Isakov
c1d456b136
Add F-Droid search engine
2016-03-27 03:50:44 +06:00
Kirill Isakov
547b8a8765
Add Tokyo Toshokan search engine
2016-03-27 00:49:57 +06:00
Adam Tauber
71de593a5b
[fix] bing images page change
2016-03-26 02:07:52 +01:00
Kirill Isakov
7fbc12ee4e
Add Torrentz.eu search engine
2016-03-26 05:28:58 +06:00
Kirill Isakov
d026a97e42
Add Reddit search engine
2016-03-25 19:30:32 +06:00
Kirill Isakov
8b7dc2acb9
Remove content field from ArchWiki results; reformat code in archlinux.py
...
Content field in Arch Wiki search results is of no real use, more often
than not it contains no usable information and includes too many markup
tags which make the text unreadable. It is safe to remove it.
2016-03-25 00:38:48 +06:00
Kirill Isakov
e5677ae6b6
Add Nyaa.se search engine
2016-03-25 00:24:37 +06:00
Kirill Isakov
d748b8419a
Add Arch Linux Wiki search engine
2016-03-24 01:57:27 +06:00
a01200356
751c9a346e
[fix] duckduckgo's xpaths changed
...
test_duckduckgo modified to reflect changes in duckduckgo's html
2016-03-21 20:19:13 -06:00
a01200356
8f3b33de23
[fix] remove unnecesary async calls in wolframalpha_noapi
...
setting async to false in the request did the job, lol.
2016-02-28 02:05:52 -06:00
a01200356
4d8996eb4d
[enh] unit tests for wolframalpha
2016-02-28 00:47:36 -06:00
Adam Tauber
d06178139f
[fix] wolframalpha page changes
...
related issues: #508 #509
2016-02-17 17:11:51 +01:00
Noemi Vanyi
baf16b8869
better test data
2016-02-04 22:39:47 +01:00
Noemi Vanyi
3034c85163
fix pep8 errors
2016-02-04 21:01:44 +01:00
Noemi Vanyi
33fa3da2e8
add Frinkiac engine & tests
2016-02-04 20:27:36 +01:00
Adam Tauber
0491b78f70
[fix] pep8
2016-02-01 21:53:03 +01:00
Adam Tauber
33ff1de9be
[fix] missing gigablast tests
2016-02-01 21:41:09 +01:00
Adam Tauber
ebbf33343a
[fix] bing images changes
2016-02-01 21:40:28 +01:00
a01200356
c2e034f52a
move two tests
2016-01-10 19:51:40 -06:00
Adam Tauber
53979a7bf7
[mod] remove buildout/makefile infrastructure
2016-01-10 19:23:10 +01:00