Lyrics: change search engine for more relevant results

This commit is contained in:
DarkCat09 2024-05-03 20:57:43 +04:00
parent df242e833f
commit 0cbb9d424e
Signed by: DarkCat09
GPG key ID: 0A26CD5B3345D6E3

View file

@ -25,7 +25,7 @@ def search(title: str, artist: 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': 'yahoo', 'engines': 'brave',
'safesearch': '0', 'safesearch': '0',
'format': 'json', 'format': 'json',
}, },