update xthor tld (#2202)

This commit is contained in:
Flip
2017-11-28 19:53:59 +01:00
committed by garfield69
parent 36c5ec25ab
commit 20c57bcac6

View File

@@ -24,7 +24,7 @@ namespace Jackett.Indexers
/// </summary> /// </summary>
public class Xthor : BaseCachingWebIndexer public class Xthor : BaseCachingWebIndexer
{ {
private static string ApiEndpoint => "https://api.xthor.bz/"; private static string ApiEndpoint => "https://api.xthor.to/";
private string TorrentCommentUrl => TorrentDescriptionUrl; private string TorrentCommentUrl => TorrentDescriptionUrl;
private string TorrentDescriptionUrl => SiteLink + "details.php?id={id}"; private string TorrentDescriptionUrl => SiteLink + "details.php?id={id}";
private bool DevMode => ConfigData.DevMode.Value; private bool DevMode => ConfigData.DevMode.Value;
@@ -37,13 +37,13 @@ namespace Jackett.Indexers
: base( : base(
name: "Xthor", name: "Xthor",
description: "General French Private Tracker", description: "General French Private Tracker",
link: "https://xthor.bz/", link: "https://xthor.to/",
caps: new TorznabCapabilities(), caps: new TorznabCapabilities(),
configService: configService, configService: configService,
client: w, client: w,
logger: l, logger: l,
p: ps, p: ps,
downloadBase: "https://xthor.bz/download.php?torrent=", downloadBase: "https://xthor.to/download.php?torrent=",
configData: new ConfigurationDataXthor()) configData: new ConfigurationDataXthor())
{ {
Encoding = Encoding.UTF8; Encoding = Encoding.UTF8;
@@ -635,4 +635,4 @@ namespace Jackett.Indexers
} }
} }
} }
} }