"http://img.opentween.org/api/",
};
+ protected string[] ExcludedServiceNames =
+ {
+ "Tumblr",
+ "Gyazo",
+ };
+
protected string ApiBase;
protected IEnumerable<Regex> UrlRegex = null;
protected Timer UpdateTimer;
lock (this.LockObj)
{
this.UrlRegex = xElm.Elements("item")
- .Where(x => x.Element("name").Value != "Tumblr") // Tumblrのサムネイル表示には img.azyobuzi.net を使用しない
+ .Where(x => !this.ExcludedServiceNames.Contains(x.Element("name").Value))
.Select(e => new Regex(e.Element("regex").Value, RegexOptions.IgnoreCase))
.ToArray();