summaryrefslogtreecommitdiff
path: root/tests
AgeCommit message (Collapse)Author
2019-08-02[fix] fix flickr_noapi decoding (#1655)Alexandre Flament
Characters that were not ASCII were incorrectly decoded. Add an helper function: searx.utils.ecma_unescape (Python implementation of unescape Javascript function).
2019-07-29[fix] wikidata engine: faster processing, remove one HTTP redirection.Dalf
* 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-28[enh] flickr_noapi: use complete JSON data block, add 'content', ↵Frank de Lange
'img_format', 'source', etc. (#1571) Fetch complete JSON data block, use legend to extract images. Unquote urlencoded strings. Add image description as 'content'. Add 'img_format' and 'source' data (needs PR #1567 to enable this data to be displayed). Show images which lack ownerid instead of discarding them.
2019-07-27[fix] bing_videos (#1579)Frank de Lange
use JSON where possible, compose 'content' using all available data, use correct 'url' (direct to source instead of redirect through bing)
2019-07-27[enh] bing_images: use data from embedded JSON to improve results (e.g. real ↵Frank de Lange
page title) (#1568) use data from embedded JSON to improve results (e.g. real page title), add image format and source info (see PR #1567), improve paging logic (it now works)
2019-07-25[mod] restore btdigg engine as btdig.com (#1515)volth
2019-07-25[fix] fix duden engine (#1594)rachmadani haryono
2019-07-17[enh] Add Server-Timing header (#1637)Alexandre Flament
Server Timing specification: https://www.w3.org/TR/server-timing/ In the browser Dev Tools, focus on the main request, there are the responses per engine in the Timing tab.
2019-07-17[fix] secret_key can be bytes instead of a string (#1602)rachmadani haryono
Fix #1600 In settings.yml, the secret_key can be written as string or as base64 encoded data using !!binary notation.
2019-07-17[fix] preference query parameter decoding (#1599)rachmadani haryono
Fix issue #1598
2019-05-28Merge branch 'master' into feature/fix-configrachmadani haryono
2019-05-28Remove some engines : subtitleseeker, seedpeer, swisscowsDalf
http://www.subtitleseeker.com and http://www.seedpeer.eu don't exist anymore. https://swisscows.ch/ has change : the engine needs to be updated
2019-05-18new: dev: test for config apirachmadaniHaryono
2019-04-13[fix] duckduckgo images requestsMarc Abonce Seguin
2019-03-26[fix] get youtube results from js objectMarc Abonce Seguin
Results are not appearing in the html document anymore, instead they are found inside an object embedded in a script.
2019-01-14Merge branch 'master' into engines/unsplashd-tux
2019-01-08[fix] unicode error with WolframAlpha API engineMarc Abonce Seguin
2019-01-08Merge branch 'master' into engines/unsplashd-tux
2019-01-07fix after rebaseNoémi Ványi
2019-01-07Revert "remove 'all' option from search languages"Noémi Ványi
This reverts commit 4d1770398a6af8902e75c0bd885781584d39e796.
2019-01-06[fix] fetch google's supported languagesMarc Abonce Seguin
2019-01-06[fix] check language aliases when setting search languageMarc Abonce Seguin
2019-01-04Merge branch 'master' into devel_google_videosNoémi Ványi
2019-01-04Merge branch 'master' into bugfix_startpageNoémi Ványi
2019-01-04[fix] google videos testVenca24
2018-12-19Update bing image engine with new image json formatLéo Bourrel
2018-12-14change rest of test_startpage.pyMichael Pfitzner
2018-12-14change the html in test_startpage.py to look more like the actual startpage siteMichael Pfitzner
2018-11-22[fix] google videos testVenca24
2018-10-08Removes what looks like tracking parametersDenis Wernert
2018-10-08Adds a unit test for the unsplash engineDenis Wernert
2018-08-19[fix] remove publicly unavailable 500px engine - #1338Adam Tauber
2018-08-18duden.de enginedadosch
2018-07-06Fix wikidata tests with updated path to mediaLéo Bourrel
2018-06-14[fix] remove obsolete testAdam Tauber
2018-05-21follow up testsNoémi Ványi
2018-05-05Fix acgsou encoding error on python2 and add unicode characters to unit testtrinpatch
2018-05-03Fix unit test urlrinpatch
2018-04-27Remove Japanese charactersrinpatch
2018-04-27Fix unit testrinpatch
2018-04-27Added unit testrinpatch
2018-04-23Fix string lengthrinpatch
2018-04-23Unit testrinpatch
2018-04-18[fix] force English results in Google when using en-USMarc Abonce Seguin
2018-04-08update unit tests for google news and wikidataMarc Abonce Seguin
2018-03-27refactor engine's search language handlingMarc Abonce Seguin
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.
2018-02-10fix unit testsNoémi Ványi
2017-12-06remove 'all' option from search languagesmarc
2017-12-01[fix] pdbe testAdam Tauber
2017-11-22[fix] change domain name in google engine testAdam Tauber