mirror of
https://github.com/Jackett/Jackett.git
synced 2025-09-17 17:34:09 +02:00
Xthor: add LegacySiteLinks
This commit is contained in:
@@ -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;
|
||||||
|
Reference in New Issue
Block a user