Lyrics: switch to multiple search engines

Brave sometimes ratelimits SearXNG server
This commit is contained in:
DarkCat09 2024-05-06 20:34:03 +04:00
parent 0b0759fb3b
commit 474c24e05a
Signed by: DarkCat09
GPG key ID: 0A26CD5B3345D6E3

View file

@ -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',
},