Merge pull request #179 from return42/brave

[enh] add Brave-Search engine (XPath)
This commit is contained in:
Alexandre Flament 2021-06-28 09:23:25 +02:00 committed by GitHub
commit 7308709b8b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 10 additions and 0 deletions

View File

@ -1503,6 +1503,16 @@ engines:
require_api_key: false
results: html
- name: brave
shortcut: brave
engine: xpath
paging: false
search_url: https://search.brave.com/search?q={query}
url_xpath: //div[@class="snippet fdb"]/a/@href
title_xpath: //span[@class="snippet-title"]
content_xpath: //div[@class="snippet-content"]
categories: general
# Doku engine lets you access to any Doku wiki instance:
# A public one or a privete/corporate one.
# - name: ubuntuwiki