Commit Graph

5 Commits (1a1f9852f11429d3f8f47d5c0c8ef5176f202c27)

Author SHA1 Message Date
Marc Abonce Seguin 772c048d01 refactor engine's search language handling
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.
7 years ago
marc 4d1770398a remove 'all' option from search languages 7 years ago
Adam Tauber 077d8efed8 [fix] use poolrequests in ddg engines 7 years ago
marc 405e5c8f24 [fix] duckduckgo images doesn't fail with countryless language 7 years ago
marc c65a409f0d add duckduckgo images engine 7 years ago