From 8b6d5a0e5b8af57b2298eec5a182f1775f630052 Mon Sep 17 00:00:00 2001 From: Allen <64094914+allendema@users.noreply.github.com> Date: Tue, 31 Aug 2021 01:46:55 +0200 Subject: [PATCH] [enh] Add azlyrics.com Upstream example query: https://search.azlyrics.com/search.php?q=The+verbal+acupunture&w=lyrics&p=1 --- searx/settings.yml | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/searx/settings.yml b/searx/settings.yml index cffe0b47..56f92e5d 100644 --- a/searx/settings.yml +++ b/searx/settings.yml @@ -741,6 +741,23 @@ 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 + use_official_api: false + require_api_key: false + results: HTML + - name : library of congress engine : loc shortcut : loc