lyrics fetcher: add support for tekstowo.pl
This commit is contained in:
@@ -45,6 +45,7 @@ LyricsFetcher *lyricsPlugins[] =
|
||||
new LyricsmaniaFetcher(),
|
||||
new MetrolyricsFetcher(),
|
||||
new JustSomeLyricsFetcher(),
|
||||
new TekstowoLyricsFetcher(),
|
||||
new InternetLyricsFetcher(),
|
||||
0
|
||||
};
|
||||
|
||||
@@ -124,6 +124,14 @@ protected:
|
||||
virtual const char *regex() const override { return "<lyrics.*?>(.*?)</lyrics>"; }
|
||||
};
|
||||
|
||||
struct TekstowoLyricsFetcher : public GoogleLyricsFetcher
|
||||
{
|
||||
virtual const char *name() const override { return "tekstowo.pl"; }
|
||||
|
||||
protected:
|
||||
virtual const char *regex() const override { return "<div class=\"song-text\">.*?</h2>(.*?)<a"; }
|
||||
};
|
||||
|
||||
struct InternetLyricsFetcher : public GoogleLyricsFetcher
|
||||
{
|
||||
virtual const char *name() const override { return "the Internet"; }
|
||||
|
||||
Reference in New Issue
Block a user