lyrics fetcher: add support for lyricsvip.com

master
Andrzej Rybczak 15 years ago
parent cf4ffb2f7b
commit fce3191d28
  1. 1
      src/lyrics_fetcher.cpp
  2. 10
      src/lyrics_fetcher.h

@ -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"; }

Loading…
Cancel
Save