add support for fetching lyrics from justsomelyrics.com

This commit is contained in:
Andrzej Rybczak
2011-05-26 16:27:12 +02:00
parent 1eb4e3ec85
commit 7b5f98bb75
2 changed files with 11 additions and 0 deletions

View File

@@ -170,6 +170,16 @@ struct LyricsvipFetcher : public GoogleLyricsFetcher
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
{
virtual const char *name() { return "the Internet"; }