lyrics fetcher: add support for lololyrics.com
This commit is contained in:
@@ -33,6 +33,7 @@ LyricsFetcher *lyricsPlugins[] =
|
||||
new LyricwikiFetcher(),
|
||||
new LyricsvipFetcher(),
|
||||
new Sing365Fetcher(),
|
||||
new LoloLyricsFetcher(),
|
||||
new LyriczzFetcher(),
|
||||
new SonglyricsFetcher(),
|
||||
new LyricsmaniaFetcher(),
|
||||
|
||||
@@ -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"; }
|
||||
|
||||
Reference in New Issue
Block a user