Fix sites.js formatting, ultimate_providers.xml update

This commit is contained in:
Max Bo 2014-08-11 19:44:10 +06:00
parent 18e6f85a20
commit 3ab81e9bec
2 changed files with 26 additions and 19 deletions

View File

@ -59,6 +59,13 @@
</extract>
<invalidIndicator value="Verifique se o nome do seu arquivo e sua"/>
</provider>
<provider name="lololyrics.com" title="" charset="utf-8" url="http://api.lololyrics.com/0.5/getLyric?artist={artist}&amp;track={title}">
<urlFormat replace="_@,;&amp;\/&quot;#" with="_"/>
<extract>
<item tag="&lt;response&gt;"/>
</extract>
<invalidIndicator value="ERROR"/>
</provider>
<provider name="loudson.gs" title="" charset="utf-8" url="http://www.loudson.gs/{a}/{artist}/{album}/{title}">
<urlFormat replace=" _@,;&amp;\/&quot;" with="-"/>
<urlFormat replace="." with=""/>

View File

@ -376,25 +376,25 @@ const siteDescriptors = {
charset: "utf-8",
extract: [['</a>?','<div']]
},
"letras.mus.br": {
charset: "iso-8859-1",
url: "http://letras.terra.com.br/winamp.php?musica={title}&artista={artist}",
urlFormat : [
{rep: "_", punct: "_@,;&\\/\"" },
{rep: "+", punct: " " },
],
extract: [["</div>","</div>"]],
invalidIndicator: "Verifique se o nome do seu arquivo e sua",
},
"lololyrics.com": {
charset: "utf-8",
url: "http://api.lololyrics.com/0.5/getLyric?artist={artist}&track={title}",
urlFormat : [
{rep: "_", punct: "_@,;&\\/\"#" },
],
extract: '<response>',
invalidIndicator: "ERROR",
},
"letras.mus.br": {
charset: "iso-8859-1",
url: "http://letras.terra.com.br/winamp.php?musica={title}&artista={artist}",
urlFormat : [
{rep: "_", punct: "_@,;&\\/\"" },
{rep: "+", punct: " " },
],
extract: [["</div>","</div>"]],
invalidIndicator: "Verifique se o nome do seu arquivo e sua",
},
"lololyrics.com": {
charset: "utf-8",
url: "http://api.lololyrics.com/0.5/getLyric?artist={artist}&track={title}",
urlFormat : [
{rep: "_", punct: "_@,;&\\/\"#" },
],
extract: '<response>',
invalidIndicator: "ERROR",
},
}
// --------------------------------------------------------------------------------------------------------------------------------