diff options
author | Andrzej Rybczak <andrzej@rybczak.net> | 2020-12-10 15:16:23 +0100 |
---|---|---|
committer | Andrzej Rybczak <andrzej@rybczak.net> | 2020-12-10 15:16:23 +0100 |
commit | 60b8071eea61b36d1b6409312931ebd71024c8e1 (patch) | |
tree | 1bd06dc2be5dc0c9a99a2f9b2e406aa93df8e7d1 /src/lyrics_fetcher.h | |
parent | aa9ca84cb28a92e67a56795371336e9281084244 (diff) |
Remove lyricwiki fetcher as the site closed down
Diffstat (limited to 'src/lyrics_fetcher.h')
-rw-r--r-- | src/lyrics_fetcher.h | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/src/lyrics_fetcher.h b/src/lyrics_fetcher.h index c7500b99..6a22a32e 100644 --- a/src/lyrics_fetcher.h +++ b/src/lyrics_fetcher.h @@ -55,20 +55,6 @@ std::istream &operator>>(std::istream &is, LyricsFetcher_ &fetcher); /**********************************************************************/ -struct LyricwikiFetcher : public LyricsFetcher -{ - virtual const char *name() const override { return "lyricwiki.com"; } - virtual Result fetch(const std::string &artist, const std::string &title) override; - -protected: - virtual const char *urlTemplate() const override { return "http://lyrics.wikia.com/api.php?action=lyrics&fmt=xml&func=getSong&artist=%artist%&song=%title%"; } - virtual const char *regex() const override { return "<url>(.*?)</url>"; } - - virtual bool notLyrics(const std::string &data) const override; -}; - -/**********************************************************************/ - struct GoogleLyricsFetcher : public LyricsFetcher { virtual Result fetch(const std::string &artist, const std::string &title); |