1
0
mirror of https://github.com/searx/searx synced 2024-12-12 03:59:38 +01:00
searx/tests/unit
Dalf 6e0285b2db [fix] wikidata engine: faster processing, remove one HTTP redirection.
* Search URL is https://www.wikidata.org/w/index.php?{query}&ns0=1 (with ns0=1 at the end to avoid an HTTP redirection)
* url_detail: remove the disabletidy=1 deprecated parameter
* Add eval_xpath function: compile once for all xpath.
* Add get_id_cache: retrieve all HTML with an id, avoid the slow to procress dynamic xpath '//div[@id="{propertyid}"]'.replace('{propertyid}')
* Create an etree.HTMLParser() instead of using the global one (see #1575)
2019-07-29 07:39:39 +02:00
..
engines [fix] wikidata engine: faster processing, remove one HTTP redirection. 2019-07-29 07:39:39 +02:00
__init__.py [mod] remove buildout/makefile infrastructure 2016-01-10 19:23:10 +01:00
test_answerers.py [enh] add quick answer functionality with an example answerer 2016-11-19 20:53:51 +01:00
test_plugins.py [enh] py3 compatibility 2017-05-15 12:02:30 +02:00
test_preferences.py [fix] preference query parameter decoding (#1599) 2019-07-17 09:42:40 +02:00
test_query.py remove 'all' option from search languages 2017-12-06 01:20:15 -06:00
test_results.py [mod] remove buildout/makefile infrastructure 2016-01-10 19:23:10 +01:00
test_search.py [mod] remove buildout/makefile infrastructure 2016-01-10 19:23:10 +01:00
test_utils.py [fix] secret_key can be bytes instead of a string (#1602) 2019-07-17 10:09:09 +02:00
test_webapp.py [enh] Add Server-Timing header (#1637) 2019-07-17 10:38:45 +02:00