xthor: New domain .tk (#6199)

This commit is contained in:
Tawagoto 2019-10-20 20:09:41 +02:00 committed by garfield69
parent 53a92446f8
commit 576efccccc
1 changed files with 4 additions and 3 deletions

View File

@ -24,10 +24,11 @@ namespace Jackett.Common.Indexers
/// </summary>
public class Xthor : BaseCachingWebIndexer
{
private static string ApiEndpoint => "https://api.xthor.to/";
private static string ApiEndpoint => "https://api.xthor.tk/";
public override string[] LegacySiteLinks { get; protected set; } = new string[] {
"https://xthor.bz/",
"https://xthor.to",
};
private string TorrentCommentUrl => TorrentDescriptionUrl;
@ -44,13 +45,13 @@ namespace Jackett.Common.Indexers
: base(
name: "Xthor",
description: "General French Private Tracker",
link: "https://xthor.to/",
link: "https://xthor.tk/",
caps: new TorznabCapabilities(),
configService: configService,
client: w,
logger: l,
p: ps,
downloadBase: "https://xthor.to/download.php?torrent=",
downloadBase: "https://xthor.tk/download.php?torrent=",
configData: new ConfigurationDataXthor())
{
Encoding = Encoding.UTF8;