lyrics fetcher: add support for lololyrics.com
This commit is contained in:
@@ -33,6 +33,7 @@ LyricsFetcher *lyricsPlugins[] =
|
|||||||
new LyricwikiFetcher(),
|
new LyricwikiFetcher(),
|
||||||
new LyricsvipFetcher(),
|
new LyricsvipFetcher(),
|
||||||
new Sing365Fetcher(),
|
new Sing365Fetcher(),
|
||||||
|
new LoloLyricsFetcher(),
|
||||||
new LyriczzFetcher(),
|
new LyriczzFetcher(),
|
||||||
new SonglyricsFetcher(),
|
new SonglyricsFetcher(),
|
||||||
new LyricsmaniaFetcher(),
|
new LyricsmaniaFetcher(),
|
||||||
|
|||||||
@@ -180,6 +180,16 @@ struct JustSomeLyricsFetcher : public GoogleLyricsFetcher
|
|||||||
virtual const char *getCloseTag() { return "<div class=\"adsdiv\">"; }
|
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
|
struct InternetLyricsFetcher : public GoogleLyricsFetcher
|
||||||
{
|
{
|
||||||
virtual const char *name() { return "the Internet"; }
|
virtual const char *name() { return "the Internet"; }
|
||||||
|
|||||||
Reference in New Issue
Block a user