Add Musixmatch as lyrics provider
This commit is contained in:
parent
c6e56813ef
commit
12ac4ae063
@ -188,6 +188,17 @@
|
|||||||
</exclude>
|
</exclude>
|
||||||
<invalidIndicator value="Something went wrong"/>
|
<invalidIndicator value="Something went wrong"/>
|
||||||
</provider>
|
</provider>
|
||||||
|
<provider name="musixmatch.com" title="{artist} - {title} lyrics | Musixmatch" charset="utf-8" url="https://www.musixmatch.com/lyrics/{Artist}/{Title}">
|
||||||
|
<urlFormat replace=" _@;\/"'()[]" with="-"/>
|
||||||
|
<urlFormat replace="?" with=""/>
|
||||||
|
<extract>
|
||||||
|
<item begin="<span id="lyrics-html"" end="</span>"/>
|
||||||
|
</extract>
|
||||||
|
<exclude>
|
||||||
|
<item begin=" data-reactid="" end="">"/>
|
||||||
|
</exclude>
|
||||||
|
<invalidIndicator value="We couldn't find that page."/>
|
||||||
|
</provider>
|
||||||
<provider name="seeklyrics.com" title="{artist} - {title} Lyrics" charset="iso-8859-1" url="http://www.seeklyrics.com/lyrics/{Artist}/{Title}.html">
|
<provider name="seeklyrics.com" title="{artist} - {title} Lyrics" charset="iso-8859-1" url="http://www.seeklyrics.com/lyrics/{Artist}/{Title}.html">
|
||||||
<urlFormat replace=" _@,;&\/'"" with="-"/>
|
<urlFormat replace=" _@,;&\/'"" with="-"/>
|
||||||
<urlFormat replace="." with=""/>
|
<urlFormat replace="." with=""/>
|
||||||
@ -227,7 +238,7 @@
|
|||||||
<exclude>
|
<exclude>
|
||||||
<item begin=""id-" end="">"/>
|
<item begin=""id-" end="">"/>
|
||||||
</exclude>
|
</exclude>
|
||||||
</provider>
|
</provider>
|
||||||
<provider name="teksty.org" title="{artist} - {title} - tekst" charset="utf-8" url="http://teksty.org/{artist},{title},tekst-piosenki">
|
<provider name="teksty.org" title="{artist} - {title} - tekst" charset="utf-8" url="http://teksty.org/{artist},{title},tekst-piosenki">
|
||||||
<urlFormat replace=" _@,;&\/"'" with="-"/>
|
<urlFormat replace=" _@,;&\/"'" with="-"/>
|
||||||
<urlFormat replace="." with=""/>
|
<urlFormat replace="." with=""/>
|
||||||
|
@ -395,6 +395,18 @@ const siteDescriptors = {
|
|||||||
extract: '<response>',
|
extract: '<response>',
|
||||||
invalidIndicator: "ERROR",
|
invalidIndicator: "ERROR",
|
||||||
},
|
},
|
||||||
|
"musixmatch.com": {
|
||||||
|
url: "https://www.musixmatch.com/lyrics/{Artist}/{Title}",
|
||||||
|
urlFormat: [
|
||||||
|
{punct: " _@;\\/\"\'\(\)\[\]", rep: "-" },
|
||||||
|
{punct: "\?", rep: "" },
|
||||||
|
],
|
||||||
|
title: "{artist} - {title} lyrics | Musixmatch",
|
||||||
|
charset: "utf-8",
|
||||||
|
extract: [['<span id="lyrics-html"','</span>']],
|
||||||
|
exclude: [[' data-reactid="','">']],
|
||||||
|
invalidIndicator: "We couldn't find that page."
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// --------------------------------------------------------------------------------------------------------------------------------
|
// --------------------------------------------------------------------------------------------------------------------------------
|
||||||
|
Loading…
x
Reference in New Issue
Block a user