lyrics fetcher: add support for lyricsvip.com
This commit is contained in:
@@ -31,6 +31,7 @@
|
|||||||
LyricsFetcher *lyricsPlugins[] =
|
LyricsFetcher *lyricsPlugins[] =
|
||||||
{
|
{
|
||||||
new LyricwikiFetcher(),
|
new LyricwikiFetcher(),
|
||||||
|
new LyricsvipFetcher(),
|
||||||
new Sing365Fetcher(),
|
new Sing365Fetcher(),
|
||||||
new LyriczzFetcher(),
|
new LyriczzFetcher(),
|
||||||
new SonglyricsFetcher(),
|
new SonglyricsFetcher(),
|
||||||
|
|||||||
@@ -160,6 +160,16 @@ struct Sing365Fetcher : public GoogleLyricsFetcher
|
|||||||
virtual const char *getCloseTag() { return "<div align"; }
|
virtual const char *getCloseTag() { return "<div align"; }
|
||||||
};
|
};
|
||||||
|
|
||||||
|
struct LyricsvipFetcher : public GoogleLyricsFetcher
|
||||||
|
{
|
||||||
|
virtual const char *name() { return "lyricsvip.com"; }
|
||||||
|
|
||||||
|
protected:
|
||||||
|
virtual const char *getSiteKeyword() { return "lyricsvip"; }
|
||||||
|
virtual const char *getOpenTag() { return "</h2>"; }
|
||||||
|
virtual const char *getCloseTag() { return "</td>"; }
|
||||||
|
};
|
||||||
|
|
||||||
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