diff --git a/src/lyrics_fetcher.cpp b/src/lyrics_fetcher.cpp index 4cda566d..8bfed6aa 100644 --- a/src/lyrics_fetcher.cpp +++ b/src/lyrics_fetcher.cpp @@ -33,6 +33,7 @@ LyricsFetcher *lyricsPlugins[] = new LyricwikiFetcher(), new LyricsvipFetcher(), new Sing365Fetcher(), + new LoloLyricsFetcher(), new LyriczzFetcher(), new SonglyricsFetcher(), new LyricsmaniaFetcher(), 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 "
"; } }; +struct LoloLyricsFetcher : public GoogleLyricsFetcher +{ + virtual const char *name() { return "lololyrics.com"; } + + protected: + virtual const char *getSiteKeyword() { return "lololyrics"; } + virtual const char *getOpenTag() { return "
"; } + virtual const char *getCloseTag() { return "
"; } +}; + struct InternetLyricsFetcher : public GoogleLyricsFetcher { virtual const char *name() { return "the Internet"; }