Lyrics: switch to multiple search engines
Brave sometimes ratelimits SearXNG server
This commit is contained in:
parent
0b0759fb3b
commit
474c24e05a
1 changed files with 1 additions and 1 deletions
|
@ -25,7 +25,7 @@ def search(title: str, artist: str) -> tuple[str, str]:
|
||||||
'https://searx.dc09.ru/search',
|
'https://searx.dc09.ru/search',
|
||||||
fields={
|
fields={
|
||||||
'q': artist + ' ' + title + ' site:genius.com',
|
'q': artist + ' ' + title + ' site:genius.com',
|
||||||
'engines': 'brave',
|
'engines': 'brave,yahoo',
|
||||||
'safesearch': '0',
|
'safesearch': '0',
|
||||||
'format': 'json',
|
'format': 'json',
|
||||||
},
|
},
|
||||||
|
|
Loading…
Add table
Reference in a new issue