lyrics fetcher: remove lyricsfly.com support
I'll take not answering for a week my e-mail with request for permanent userid key as "no".
This commit is contained in:
@@ -38,7 +38,6 @@ LyricsFetcher *lyricsPlugins[] =
|
|||||||
new LyricstimeFetcher(),
|
new LyricstimeFetcher(),
|
||||||
new MetrolyricsFetcher(),
|
new MetrolyricsFetcher(),
|
||||||
new LyrcComArFetcher(),
|
new LyrcComArFetcher(),
|
||||||
new LyricsflyFetcher(),
|
|
||||||
0
|
0
|
||||||
};
|
};
|
||||||
|
|
||||||
@@ -140,14 +139,6 @@ bool LyricwikiFetcher::notLyrics(const std::string &data)
|
|||||||
return data.find("action=edit") != std::string::npos;
|
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)
|
LyricsFetcher::Result GoogleLyricsFetcher::fetch(const std::string &artist, const std::string &title)
|
||||||
|
|||||||
@@ -72,18 +72,6 @@ struct LyricwikiFetcher : public LyricsFetcher
|
|||||||
virtual bool notLyrics(const std::string &data);
|
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 "<tx>"; }
|
|
||||||
virtual const char *getCloseTag() { return "</tx>"; }
|
|
||||||
|
|
||||||
virtual void postProcess(std::string &data);
|
|
||||||
};
|
|
||||||
|
|
||||||
/**********************************************************************/
|
/**********************************************************************/
|
||||||
|
|
||||||
struct GoogleLyricsFetcher : public LyricsFetcher
|
struct GoogleLyricsFetcher : public LyricsFetcher
|
||||||
|
|||||||
Reference in New Issue
Block a user