Fetching lyrics from lololyrics.com

This commit is contained in:
Max Bo 2014-08-10 07:53:48 +06:00
parent 93b4b2caac
commit 18e6f85a20
1 changed files with 9 additions and 0 deletions

View File

@ -386,6 +386,15 @@ const siteDescriptors = {
extract: [["</div>","</div>"]], extract: [["</div>","</div>"]],
invalidIndicator: "Verifique se o nome do seu arquivo e sua", 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",
},
} }
// -------------------------------------------------------------------------------------------------------------------------------- // --------------------------------------------------------------------------------------------------------------------------------