diff options
author | Allen <64094914+allendema@users.noreply.github.com> | 2021-08-31 01:46:55 +0200 |
---|---|---|
committer | Markus Heiser <markus.heiser@darmarit.de> | 2021-09-04 10:58:34 +0200 |
commit | 0648757e7fc6efe9cb08c26c7340f1a476492a93 (patch) | |
tree | 76f9aeacef4bc58e535a1d1196df64397c986db2 | |
parent | 018537080ce6135d41cd0697cef7c73a4ce372ab (diff) | |
download | searxng-0648757e7fc6efe9cb08c26c7340f1a476492a93.tar.gz searxng-0648757e7fc6efe9cb08c26c7340f1a476492a93.zip |
[enh] add engine AZLyrics.com (XPath)
Upstream example query:
https://search.azlyrics.com/search.php?q=The+verbal+acupunture&w=lyrics&p=1
Cherry picked from [1] and slightly modified to pass yamllint test.
[1] https://github.com/allendema/searx/commit/8b6d5a0e5
Reviewed-by: Markus Heiser <markus.heiser@darmarit.de>
-rw-r--r-- | searx/settings.yml | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/searx/settings.yml b/searx/settings.yml index aec925087..2259de843 100644 --- a/searx/settings.yml +++ b/searx/settings.yml @@ -798,6 +798,25 @@ engines: require_api_key: false results: HTML + - name: azlyrics + shortcut: lyrics + engine: xpath + timeout: 4.0 + disabled: true + categories: general + paging: true + search_url: https://search.azlyrics.com/search.php?q={query}&w=lyrics&p={pageno} + url_xpath: //td[@class="text-left visitedlyr"]/a/@href + title_xpath: //span/b/text() + content_xpath: //td[@class="text-left visitedlyr"]/a/small + about: + website: https://azlyrics.com + wikidata_id: Q66372542 + official_api_documentation: + use_official_api: false + require_api_key: false + results: HTML + # - name: meilisearch # engine: meilisearch # shortcut: mes |