From b8352eca0c23b00993a2f1bc659d98022dc07894 Mon Sep 17 00:00:00 2001 From: Markus Heiser Date: Tue, 8 Aug 2023 11:20:10 +0200 Subject: [mod] brave engines: add fetch_traits() / improve language support Signed-off-by: Markus Heiser --- searx/data/engine_traits.json | 280 ++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 280 insertions(+) (limited to 'searx/data/engine_traits.json') diff --git a/searx/data/engine_traits.json b/searx/data/engine_traits.json index e6774d696..9f14320cd 100644 --- a/searx/data/engine_traits.json +++ b/searx/data/engine_traits.json @@ -541,6 +541,286 @@ "zh-TW": "zh-TW" } }, + "brave": { + "all_locale": "all", + "custom": { + "ui_lang": { + "ca": "ca", + "de-DE": "de-de", + "en-CA": "en-ca", + "en-GB": "en-gb", + "en-US": "en-us", + "es": "es", + "fr-CA": "fr-ca", + "fr-FR": "fr-fr", + "ja-JP": "ja-jp", + "pt-BR": "pt-br", + "sq-AL": "sq-al" + } + }, + "data_type": "traits_v1", + "languages": {}, + "regions": { + "ar-SA": "sa", + "da-DK": "dk", + "de-AT": "at", + "de-BE": "be", + "de-CH": "ch", + "de-DE": "de", + "en-AU": "au", + "en-CA": "ca", + "en-GB": "gb", + "en-HK": "hk", + "en-IN": "in", + "en-NZ": "nz", + "en-PH": "ph", + "en-US": "us", + "en-ZA": "za", + "es-AR": "ar", + "es-CL": "cl", + "es-ES": "es", + "es-MX": "mx", + "fi-FI": "fi", + "fil-PH": "ph", + "fr-BE": "be", + "fr-CA": "ca", + "fr-CH": "ch", + "fr-FR": "fr", + "gsw-CH": "ch", + "hi-IN": "in", + "id-ID": "id", + "it-CH": "ch", + "it-IT": "it", + "ja-JP": "jp", + "ko-KR": "kr", + "mi-NZ": "nz", + "ms-MY": "my", + "nb-NO": "no", + "nl-BE": "be", + "nl-NL": "nl", + "nn-NO": "no", + "pl-PL": "pl", + "pt-BR": "br", + "pt-PT": "pt", + "ru-RU": "ru", + "sv-FI": "fi", + "sv-SE": "se", + "tr-TR": "tr", + "zh-CN": "cn", + "zh-HK": "hk", + "zh-TW": "tw" + } + }, + "brave.images": { + "all_locale": "all", + "custom": { + "ui_lang": { + "ca": "ca", + "de-DE": "de-de", + "en-CA": "en-ca", + "en-GB": "en-gb", + "en-US": "en-us", + "es": "es", + "fr-CA": "fr-ca", + "fr-FR": "fr-fr", + "ja-JP": "ja-jp", + "pt-BR": "pt-br", + "sq-AL": "sq-al" + } + }, + "data_type": "traits_v1", + "languages": {}, + "regions": { + "ar-SA": "sa", + "da-DK": "dk", + "de-AT": "at", + "de-BE": "be", + "de-CH": "ch", + "de-DE": "de", + "en-AU": "au", + "en-CA": "ca", + "en-GB": "gb", + "en-HK": "hk", + "en-IN": "in", + "en-NZ": "nz", + "en-PH": "ph", + "en-US": "us", + "en-ZA": "za", + "es-AR": "ar", + "es-CL": "cl", + "es-ES": "es", + "es-MX": "mx", + "fi-FI": "fi", + "fil-PH": "ph", + "fr-BE": "be", + "fr-CA": "ca", + "fr-CH": "ch", + "fr-FR": "fr", + "gsw-CH": "ch", + "hi-IN": "in", + "id-ID": "id", + "it-CH": "ch", + "it-IT": "it", + "ja-JP": "jp", + "ko-KR": "kr", + "mi-NZ": "nz", + "ms-MY": "my", + "nb-NO": "no", + "nl-BE": "be", + "nl-NL": "nl", + "nn-NO": "no", + "pl-PL": "pl", + "pt-BR": "br", + "pt-PT": "pt", + "ru-RU": "ru", + "sv-FI": "fi", + "sv-SE": "se", + "tr-TR": "tr", + "zh-CN": "cn", + "zh-HK": "hk", + "zh-TW": "tw" + } + }, + "brave.news": { + "all_locale": "all", + "custom": { + "ui_lang": { + "ca": "ca", + "de-DE": "de-de", + "en-CA": "en-ca", + "en-GB": "en-gb", + "en-US": "en-us", + "es": "es", + "fr-CA": "fr-ca", + "fr-FR": "fr-fr", + "ja-JP": "ja-jp", + "pt-BR": "pt-br", + "sq-AL": "sq-al" + } + }, + "data_type": "traits_v1", + "languages": {}, + "regions": { + "ar-SA": "sa", + "da-DK": "dk", + "de-AT": "at", + "de-BE": "be", + "de-CH": "ch", + "de-DE": "de", + "en-AU": "au", + "en-CA": "ca", + "en-GB": "gb", + "en-HK": "hk", + "en-IN": "in", + "en-NZ": "nz", + "en-PH": "ph", + "en-US": "us", + "en-ZA": "za", + "es-AR": "ar", + "es-CL": "cl", + "es-ES": "es", + "es-MX": "mx", + "fi-FI": "fi", + "fil-PH": "ph", + "fr-BE": "be", + "fr-CA": "ca", + "fr-CH": "ch", + "fr-FR": "fr", + "gsw-CH": "ch", + "hi-IN": "in", + "id-ID": "id", + "it-CH": "ch", + "it-IT": "it", + "ja-JP": "jp", + "ko-KR": "kr", + "mi-NZ": "nz", + "ms-MY": "my", + "nb-NO": "no", + "nl-BE": "be", + "nl-NL": "nl", + "nn-NO": "no", + "pl-PL": "pl", + "pt-BR": "br", + "pt-PT": "pt", + "ru-RU": "ru", + "sv-FI": "fi", + "sv-SE": "se", + "tr-TR": "tr", + "zh-CN": "cn", + "zh-HK": "hk", + "zh-TW": "tw" + } + }, + "brave.videos": { + "all_locale": "all", + "custom": { + "ui_lang": { + "ca": "ca", + "de-DE": "de-de", + "en-CA": "en-ca", + "en-GB": "en-gb", + "en-US": "en-us", + "es": "es", + "fr-CA": "fr-ca", + "fr-FR": "fr-fr", + "ja-JP": "ja-jp", + "pt-BR": "pt-br", + "sq-AL": "sq-al" + } + }, + "data_type": "traits_v1", + "languages": {}, + "regions": { + "ar-SA": "sa", + "da-DK": "dk", + "de-AT": "at", + "de-BE": "be", + "de-CH": "ch", + "de-DE": "de", + "en-AU": "au", + "en-CA": "ca", + "en-GB": "gb", + "en-HK": "hk", + "en-IN": "in", + "en-NZ": "nz", + "en-PH": "ph", + "en-US": "us", + "en-ZA": "za", + "es-AR": "ar", + "es-CL": "cl", + "es-ES": "es", + "es-MX": "mx", + "fi-FI": "fi", + "fil-PH": "ph", + "fr-BE": "be", + "fr-CA": "ca", + "fr-CH": "ch", + "fr-FR": "fr", + "gsw-CH": "ch", + "hi-IN": "in", + "id-ID": "id", + "it-CH": "ch", + "it-IT": "it", + "ja-JP": "jp", + "ko-KR": "kr", + "mi-NZ": "nz", + "ms-MY": "my", + "nb-NO": "no", + "nl-BE": "be", + "nl-NL": "nl", + "nn-NO": "no", + "pl-PL": "pl", + "pt-BR": "br", + "pt-PT": "pt", + "ru-RU": "ru", + "sv-FI": "fi", + "sv-SE": "se", + "tr-TR": "tr", + "zh-CN": "cn", + "zh-HK": "hk", + "zh-TW": "tw" + } + }, "dailymotion": { "all_locale": null, "custom": {}, -- cgit v1.2.3-54-g00ecf