From 474c24e05affd6452435c471e60c9f1091c12b5a Mon Sep 17 00:00:00 2001 From: DarkCat09 Date: Mon, 6 May 2024 20:34:03 +0400 Subject: [PATCH] Lyrics: switch to multiple search engines Brave sometimes ratelimits SearXNG server --- backend/genius.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/genius.py b/backend/genius.py index 7d7a119..780c064 100644 --- a/backend/genius.py +++ b/backend/genius.py @@ -25,7 +25,7 @@ def search(title: str, artist: str) -> tuple[str, str]: 'https://searx.dc09.ru/search', fields={ 'q': artist + ' ' + title + ' site:genius.com', - 'engines': 'brave', + 'engines': 'brave,yahoo', 'safesearch': '0', 'format': 'json', },