lyrics fetcher: add support for zeneszoveg.hu

This commit is contained in:
Attila Szollosi
2018-10-24 02:07:25 +02:00
parent 81cb7a4f85
commit 156be93d5a
5 changed files with 13 additions and 2 deletions

View File

@@ -157,6 +157,14 @@ protected:
virtual const char *regex() const override { return "<div class=\"song-text\">.*?</h2>(.*?)<a"; }
};
struct ZeneszovegFetcher : public GoogleLyricsFetcher
{
virtual const char *name() const override { return "zeneszoveg.hu"; }
protected:
virtual const char *regex() const override { return "<div class=\"lyrics-plain-text\">(.*?)</div>"; }
};
struct InternetLyricsFetcher : public GoogleLyricsFetcher
{
virtual const char *name() const override { return "the Internet"; }