whoogle-search/test
Ben Busby bcb1d8ecc9
Add lingva translation support in search (#360)
* Add support for Lingva translations in results

Searches that contain the word "translate" and are normal search queries
(i.e. not news/images/video/etc) now create an iframe to a Lingva url to
translate the user's search using their configured search language.

The Lingva url can be configured using the WHOOGLE_ALT_TL env var, or
will fall back to the official Lingva instance url (lingva.ml).

For more info, visit https://github.com/TheDavidDelta/lingva-translate

* Add basic test for lingva results

* Allow user specified lingva instances through csp frame-src

* Fix pep8 issue
2021-06-15 10:14:42 -04:00
..
__init__.py Added testing and ci build, refactored filter class, refactored project structure 2020-04-15 17:41:53 -06:00
conftest.py Fix incorrect config bool env var casting 2021-04-12 16:40:59 -04:00
test_autocomplete.py Feature: autocomplete/search suggestions (#72) 2020-05-24 14:03:11 -06:00
test_misc.py Support basic localization (#325) 2021-05-24 17:03:02 -04:00
test_results.py Add lingva translation support in search (#360) 2021-06-15 10:14:42 -04:00
test_routes.py Add option to disable changing config from client (#295) 2021-04-27 10:36:03 -04:00