1
0
mirror of https://github.com/clementine-player/Clementine synced 2024-12-23 00:09:14 +01:00

Add bollywoodlyrics.com as lyrics provider for bollywood songs

Add hindilyrics.net
This commit is contained in:
narunlifescience 2015-11-15 17:39:10 -06:00
parent 5f580f1dd9
commit 0ad40780ea
2 changed files with 42 additions and 0 deletions

View File

@ -11,6 +11,14 @@
<item begin="[" end="]"/>
</exclude>
</provider>
<provider name="bollywoodlyrics.com (Bollywood songs)" title="{title} Song Lyrics - BollywoodLyrics.com" charset="utf-8" url="http://www.bollywoodlyrics.com/lyric/{Title}">
<urlFormat replace=" _@;\/&quot;'()[]" with="-"/>
<urlFormat replace="?" with=""/>
<extract>
<item begin="&lt;div class=&quot;entry-content&quot;&gt;" end="&lt;/div&gt;"/>
</extract>
<invalidIndicator value="Couldn't find that page."/>
</provider>
<provider name="darklyrics.com" title ="{ARTIST} LYRICS - &quot;{title}&quot; ({year}) album" charset="utf-8" url="http://www.darklyrics.com/lyrics/{artist2}/{album2}.html">
<extract>
<item begin="&lt;h3&gt;&lt;a name=&quot;{track}&quot;&gt;{track}. {Title2}&lt;/a&gt;&lt;/h3&gt;&lt;br /&gt;" end="&lt;h3&gt;"/>
@ -51,6 +59,17 @@
<invalidIndicator value="&quot;iTotalRecords&quot;: 0"/>
<invalidIndicator value="lyrics not available"/>
</provider>
<provider name="hindilyrics.net (Bollywood songs)" title="{title} ({album})" charset="utf-8" url="http://www.hindilyrics.net/lyrics/of-{Title}.html">
<urlFormat replace=" _@;\/&quot;'()[]" with="%20"/>
<urlFormat replace="?" with=""/>
<extract>
<item begin="&lt;div class=nm&gt;Movie&lt;/div&gt;:" end="&lt;/pre&gt;"/>
</extract>
<exclude>
<item begin="&lt;span class=" end="&quot;&gt;"/>
</exclude>
<invalidIndicator value="Couldn't find that page."/>
</provider>
<provider name="letras.mus.br" title="" charset="utf-8" url="http://letras.terra.com.br/winamp.php?musica={title}&amp;artista={artist}">
<urlFormat replace="_@,;&amp;\/&quot;" with="_"/>
<urlFormat replace=" " with="+"/>

View File

@ -407,6 +407,29 @@ const siteDescriptors = {
exclude: [[' data-reactid="','">']],
invalidIndicator: "We couldn't find that page."
}
"bollywoodlyrics.com (Bollywood songs)": {
url: "http://www.bollywoodlyrics.com/lyric/{Title}",
urlFormat: [
{punct: " _@;\\/\"\'\(\)\[\]", rep: "-" },
{punct: "\?", rep: "" },
],
title: "{title} Song Lyrics - BollywoodLyrics.com",
charset: "utf-8",
extract: [['<div class="entry-content">','</div>']],
invalidIndicator: "Couldn't find that page."
}
"hindilyrics.net (Bollywood Songs)": {
url: "http://www.hindilyrics.net/lyrics/of-{Title}.html",
urlFormat: [
{punct: " _@;\\/\"\'\(\)\[\]", rep: "%20" },
{punct: "\?", rep: "" },
],
title: "{title} ({album})",
charset: "utf-8",
extract: [['<div class=nm>Movie</div>:','</pre>']],
exclude: [['<span class=','">']],
invalidIndicator: "Couldn't find that page."
}
}
// --------------------------------------------------------------------------------------------------------------------------------