add support for fetching lyrics from justsomelyrics.com
This commit is contained in:
@@ -38,6 +38,7 @@ LyricsFetcher *lyricsPlugins[] =
|
|||||||
new LyricsmaniaFetcher(),
|
new LyricsmaniaFetcher(),
|
||||||
new LyricstimeFetcher(),
|
new LyricstimeFetcher(),
|
||||||
new MetrolyricsFetcher(),
|
new MetrolyricsFetcher(),
|
||||||
|
new JustSomeLyricsFetcher(),
|
||||||
new LyrcComArFetcher(),
|
new LyrcComArFetcher(),
|
||||||
new InternetLyricsFetcher(),
|
new InternetLyricsFetcher(),
|
||||||
0
|
0
|
||||||
|
|||||||
@@ -170,6 +170,16 @@ struct LyricsvipFetcher : public GoogleLyricsFetcher
|
|||||||
virtual const char *getCloseTag() { return "</td>"; }
|
virtual const char *getCloseTag() { return "</td>"; }
|
||||||
};
|
};
|
||||||
|
|
||||||
|
struct JustSomeLyricsFetcher : public GoogleLyricsFetcher
|
||||||
|
{
|
||||||
|
virtual const char *name() { return "justsomelyrics.com"; }
|
||||||
|
|
||||||
|
protected:
|
||||||
|
virtual const char *getSiteKeyword() { return "justsomelyrics"; }
|
||||||
|
virtual const char *getOpenTag() { return "alt=\"phone\" />\n</div>"; }
|
||||||
|
virtual const char *getCloseTag() { return "<div class=\"adsdiv\">"; }
|
||||||
|
};
|
||||||
|
|
||||||
struct InternetLyricsFetcher : public GoogleLyricsFetcher
|
struct InternetLyricsFetcher : public GoogleLyricsFetcher
|
||||||
{
|
{
|
||||||
virtual const char *name() { return "the Internet"; }
|
virtual const char *name() { return "the Internet"; }
|
||||||
|
|||||||
Reference in New Issue
Block a user