You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
searxng/tests/unit
Markus Heiser 3bb62823ec [fix] dailymotion engine: filter by language & country
- fix the issue of fetching more the 7000 *languages*
- improve the request function and filter by language & country
- implement time_range_support & safesearch
- add more fields to the response from dailymotion (allow_embed, length)
- better clean up of HTML tags in the 'content' field.

This is more or less a complete rework based on the '/videos' API from [1].
This patch cleans up the language list in SearXNG that has been polluted by the
ISO-639-3 2 and 3 letter codes from dailymotion languages which have never been
used.

[1] https://developers.dailymotion.com/tools/

Closes: https://github.com/searxng/searxng/issues/1065
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2 years ago
..
engines [format.python] initial formatting of the python code 3 years ago
network [mod] upgrade httpx 0.21.2 3 years ago
settings [fix] changeover of the unit tests to the simple theme 2 years ago
__init__.py [format.python] initial formatting of the python code 3 years ago
test_answerers.py [format.python] initial formatting of the python code 3 years ago
test_engines_init.py [format.python] initial formatting of the python code 3 years ago
test_external_bangs.py [fix] external bangs: don't overwrite Bangs in data trie 2 years ago
test_plugins.py [format.python] initial formatting of the python code 3 years ago
test_preferences.py [fix] changeover of the unit tests to the simple theme 2 years ago
test_query.py [fix] dailymotion engine: filter by language & country 2 years ago
test_results.py [format.python] initial formatting of the python code 3 years ago
test_search.py [format.python] initial formatting of the python code 3 years ago
test_settings_loader.py [format.python] initial formatting of the python code 3 years ago
test_standalone_searx.py [format.python] initial formatting of the python code 3 years ago
test_utils.py [mod] add documentation about searx.utils 2 years ago
test_webadapter.py [fix] changeover of the unit tests to the simple theme 2 years ago
test_webapp.py [fix] issue when upgrading from werkzeug v2.0.3 to v2.1.0 2 years ago
test_webutils.py [mod] webutils.py: remove dead code 3 years ago