summaryrefslogtreecommitdiff
path: root/src/lyrics_fetcher.h
diff options
context:
space:
mode:
authorAndrzej Rybczak <electricityispower@gmail.com>2011-05-26 16:27:12 +0200
committerAndrzej Rybczak <electricityispower@gmail.com>2011-05-26 16:27:12 +0200
commit7b5f98bb75ae449b9957981931e24337fd6f63c6 (patch)
tree0e3ab966d0886f9bb04591d7f69b7579400b1ac4 /src/lyrics_fetcher.h
parent1eb4e3ec85bab1a0f7434c738a6ee702732309c7 (diff)
add support for fetching lyrics from justsomelyrics.com
Diffstat (limited to 'src/lyrics_fetcher.h')
-rw-r--r--src/lyrics_fetcher.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/lyrics_fetcher.h b/src/lyrics_fetcher.h
index c394333e..8306e463 100644
--- a/src/lyrics_fetcher.h
+++ b/src/lyrics_fetcher.h
@@ -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"; }