-
Notifications
You must be signed in to change notification settings - Fork 30
/
Copy pathreference.conf
79 lines (74 loc) · 1.76 KB
/
reference.conf
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
lyrics
{
default = "A-Z Lyrics"
timeout = 5000
user-agent = "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:63.0) Gecko/20100101 Firefox/63.0"
A-Z Lyrics
{
token
{
url = "https://www.azlyrics.com/geo.js"
text = true
select = ""
regex = """(?<=\"value\",\s\").*(?=\")"""
}
search
{
url = "https://search.azlyrics.com/search.php?q=%s&x=%s"
json = false
select = "a[href*=/lyrics/]"
}
parse
{
title = "div.ringtone ~ b"
author = "div.lyricsh b"
content = "div.ringtone ~ div"
}
}
Genius
{
search
{
url = "https://genius.com/api/search?q=%s"
json = true
select = "result > url"
}
parse
{
title = "h1[class*=__Title] > span"
author = "a[class*=__Artist]"
content = "div[class^=Lyrics__Container]"
}
}
MusixMatch
{
search
{
url = "https://www.musixmatch.com/search/%s"
json = false
select = "a.title[href*=/lyrics/]"
}
parse
{
title = "h1"
author = "h2 span a"
content = "div.mxm-lyrics > span"
}
}
MusicMatch = ${lyrics.MusixMatch}
LyricsFreak
{
search
{
url = "https://www.lyricsfreak.com/search.php?q=%s"
json = false
select = "a.song[href*=.html]"
}
parse
{
title = "div#breadcrumb span > span[itemprop=title]"
author = "h2.lyric-song-head a"
content = "div#content"
}
}
}