diff --git a/src/lyrics_fetcher.cpp b/src/lyrics_fetcher.cpp index 25540807..39d43ce0 100644 --- a/src/lyrics_fetcher.cpp +++ b/src/lyrics_fetcher.cpp @@ -38,7 +38,6 @@ LyricsFetcher *lyricsPlugins[] = new LyricstimeFetcher(), new MetrolyricsFetcher(), new LyrcComArFetcher(), - new LyricsflyFetcher(), 0 }; @@ -140,14 +139,6 @@ bool LyricwikiFetcher::notLyrics(const std::string &data) return data.find("action=edit") != std::string::npos; } -/***********************************************************************/ - -void LyricsflyFetcher::postProcess(std::string &data) -{ - Replace(data, "[br]", "\n"); - LyricsFetcher::postProcess(data); -} - /**********************************************************************/ LyricsFetcher::Result GoogleLyricsFetcher::fetch(const std::string &artist, const std::string &title) diff --git a/src/lyrics_fetcher.h b/src/lyrics_fetcher.h index c81563e7..070ecef4 100644 --- a/src/lyrics_fetcher.h +++ b/src/lyrics_fetcher.h @@ -72,18 +72,6 @@ struct LyricwikiFetcher : public LyricsFetcher virtual bool notLyrics(const std::string &data); }; -struct LyricsflyFetcher : public LyricsFetcher -{ - virtual const char *name() { return "lyricsfly.com"; } - - protected: - virtual const char *getURL() { return "http://api.lyricsfly.com/api/api.php?i=1b76e55254f5f22ae-temporary.API.access&a=%artist%&t=%title%"; } - virtual const char *getOpenTag() { return ""; } - virtual const char *getCloseTag() { return ""; } - - virtual void postProcess(std::string &data); -}; - /**********************************************************************/ struct GoogleLyricsFetcher : public LyricsFetcher