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> /// </summary>
public class Xthor : BaseCachingWebIndexer 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[] { public override string[] LegacySiteLinks { get; protected set; } = new string[] {
"https://xthor.bz/", "https://xthor.bz/",
"https://xthor.to",
}; };
private string TorrentCommentUrl => TorrentDescriptionUrl; private string TorrentCommentUrl => TorrentDescriptionUrl;
@ -44,13 +45,13 @@ namespace Jackett.Common.Indexers
: base( : base(
name: "Xthor", name: "Xthor",
description: "General French Private Tracker", description: "General French Private Tracker",
link: "https://xthor.to/", link: "https://xthor.tk/",
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.to/download.php?torrent=", downloadBase: "https://xthor.tk/download.php?torrent=",
configData: new ConfigurationDataXthor()) configData: new ConfigurationDataXthor())
{ {
Encoding = Encoding.UTF8; Encoding = Encoding.UTF8;