.oO SearXNG Developer Documentation Oo.
Loading...
Searching...
No Matches
genius.py File Reference

Go to the source code of this file.

Namespaces

namespace  searx
 
namespace  searx.engines
 ::1337x
 
namespace  searx.engines.genius
 

Functions

 searx.engines.genius.request (query, params)
 
 searx.engines.genius.parse_lyric (hit)
 
 searx.engines.genius.parse_artist (hit)
 
 searx.engines.genius.parse_album (hit)
 
 searx.engines.genius.response (resp)
 

Variables

dict searx.engines.genius.about
 
list searx.engines.genius.categories = ['music', 'lyrics']
 
bool searx.engines.genius.paging = True
 
int searx.engines.genius.page_size = 5
 
str searx.engines.genius.url = 'https://genius.com/api/'
 
str searx.engines.genius.search_url = url + 'search/{index}?{query}&page={pageno}&per_page={page_size}'
 
str searx.engines.genius.music_player = 'https://genius.com{api_path}/apple_music_player'
 
dict searx.engines.genius.parse = {'lyric': parse_lyric, 'song': parse_lyric, 'artist': parse_artist, 'album': parse_album}