lyrics fetcher: add support for lyricsvip.com
This commit is contained in:
@@ -31,6 +31,7 @@
|
||||
LyricsFetcher *lyricsPlugins[] =
|
||||
{
|
||||
new LyricwikiFetcher(),
|
||||
new LyricsvipFetcher(),
|
||||
new Sing365Fetcher(),
|
||||
new LyriczzFetcher(),
|
||||
new SonglyricsFetcher(),
|
||||
|
||||
@@ -160,6 +160,16 @@ struct Sing365Fetcher : public GoogleLyricsFetcher
|
||||
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
|
||||
{
|
||||
virtual const char *name() { return "the Internet"; }
|
||||
|
||||
Reference in New Issue
Block a user