summaryrefslogtreecommitdiff
path: root/searx/engines/brave.py
AgeCommit message (Collapse)Author
2024-10-03add get_embeded_stream_url to searx.utilsAustin-Olacsi
2024-09-15[fix] fetch_traits: brave, google, annas_archive & radio_browserMarkus
This patch fixes a bug reported by CI "Fetch traits" [1] (brave) and improves other fetch traits functions (google, annas_archive & radio_browser). brave: File "/home/runner/work/searxng/searxng/searx/engines/brave.py", line 434, in fetch_traits sxng_tag = region_tag(babel.Locale.parse(ui_lang, sep='-')) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/runner/work/searxng/searxng/searx/locales.py", line 155, in region_tag Error: raise ValueError('%s missed a territory') google: change ERROR message about unknow UI language to INFO message radio_browser: country_list contains duplicates that differ only in upper/lower case annas_archive: for better diff; sort the persistence of the traits [1] https://github.com/searxng/searxng/actions/runs/10606312371/job/29433352518#step:6:41 Signed-off-by: Markus <markus@venom.fritz.box>
2024-07-29[fix] brave fetch_traits: Brave added Chinese (zh-hant) to UIMarkus Heiser
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2024-06-25[fix] brave fetch_traits: layout of the settings page has changedMarkus Heiser
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2024-05-29[enh] add re-usable func to filter textAllen
2024-05-16[mod] simple theme: drop img_src from default resultsMarkus Heiser
The use of img_src AND thumbnail in the default results makes no sense (only a thumbnail is needed). In the current state this is rather confusing, because img_src is displayed like a thumbnail (small) and thumbnail is displayed like an image (large). Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2024-03-11[mod] pylint all engines without PYLINT_SEARXNG_DISABLE_OPTIONMarkus Heiser
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2024-02-25[refactor] images: add resolution, image format and filesize fieldsBnyro
Co-authored-by: Markus Heiser <markus.heiser@darmarit.de>
2024-02-10[feat] engine: implementation of brave gogglesHackurei
2024-01-31[fix] brave.search - update result selectors to fit to new layoutMarkus Heiser
Closes: https://github.com/searxng/searxng/issues/3167 Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2024-01-30[feat] brave: fix empty content and parse published datesBnyro
2023-12-03[mod] add option max_page to bing, brave, qwant, startpage & mojeekMarkus Heiser
[1] https://github.com/searxng/searxng/issues/2982#issuecomment-1808975780 Reported-by: @Damaj301damaj-lol [1] Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2023-10-13fixing results parsing braveÉmilien (perso)
2023-09-27[fix] engine brave - fetch traits (modified settings menu)Markus Heiser
Brave has changed it settings menu fundamental. Region codes are no longer in the HTML page, we have to read the regional codes from a JS: https://cdn.search.brave.com/serp/v2/_app/immutable/chunks/parameters.734c106a.js Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2023-09-21[fix] engine - brave don't show adsjazzzooo
2023-09-18[fix] spellingjazzzooo
2023-09-15[fix] brave.videosjazzzooo
2023-09-15[fix] brave.newsjazzzooo
2023-09-12[fix] engine - bravejazzzooo
2023-09-09Replace chompjs with pure Python codeAlexandre Flament
The new implementation is good enough for the current usage (brave)
2023-08-18[mod] brave: support for showing the answer source urlBnyro
2023-08-10[mod] engine brave: raise error on unsupported categoryBnyro
2023-08-08[mod] brave engines: add fetch_traits() / improve language supportMarkus Heiser
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2023-08-08[mod] implement brave (WEB) engine to replace XPath configurationMarkus Heiser
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2023-08-08[feat] engine: brave - support for newsBnyro
2023-08-08[feat] engine: brave - support for videosBnyro
2023-08-08[feat] engine: brave - support for imagesBnyro