1
0
Fork 0
mirror of https://github.com/Jackett/Jackett synced 2025-01-02 13:16:16 +00:00

Xthor: add LegacySiteLinks

This commit is contained in:
kaso17 2017-11-29 19:18:08 +01:00
parent f49a960f5e
commit 254b918a08

View file

@ -25,6 +25,11 @@ namespace Jackett.Indexers
public class Xthor : BaseCachingWebIndexer public class Xthor : BaseCachingWebIndexer
{ {
private static string ApiEndpoint => "https://api.xthor.to/"; private static string ApiEndpoint => "https://api.xthor.to/";
public override string[] LegacySiteLinks { get; protected set; } = new string[] {
"https://xthor.bz/",
};
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;