summaryrefslogtreecommitdiff
path: root/src/lyrics_fetcher.h
diff options
context:
space:
mode:
authorAndrzej Rybczak <electricityispower@gmail.com>2011-11-26 02:04:01 +0100
committerAndrzej Rybczak <electricityispower@gmail.com>2011-11-26 02:04:01 +0100
commitfa298428d925939f8d8d7c5a60c644d5131e171b (patch)
tree09ed2c87c07895c2cf568c31463653e260d77c7e /src/lyrics_fetcher.h
parent8e3b0620f0f7f00af76405c1ac5001dd8eb5885b (diff)
lyrics fetcher: add support for lololyrics.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 789864c5..99f0e4e5 100644
--- a/src/lyrics_fetcher.h
+++ b/src/lyrics_fetcher.h
@@ -180,6 +180,16 @@ struct JustSomeLyricsFetcher : public GoogleLyricsFetcher
virtual const char *getCloseTag() { return "<div class=\"adsdiv\">"; }
};
+struct LoloLyricsFetcher : public GoogleLyricsFetcher
+{
+ virtual const char *name() { return "lololyrics.com"; }
+
+ protected:
+ virtual const char *getSiteKeyword() { return "lololyrics"; }
+ virtual const char *getOpenTag() { return "<div class=\"lyrics_txt\" id=\"lyrics_txt\" style=\"font-size:12px; letter-spacing:0.2px; line-height:20px;\">"; }
+ virtual const char *getCloseTag() { return "</div>"; }
+};
+
struct InternetLyricsFetcher : public GoogleLyricsFetcher
{
virtual const char *name() { return "the Internet"; }