mirror of
https://github.com/Jackett/Jackett
synced 2025-01-02 13:16:16 +00:00
Xthor: add LegacySiteLinks
This commit is contained in:
parent
f49a960f5e
commit
254b918a08
1 changed files with 5 additions and 0 deletions
|
@ -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;
|
||||||
|
|
Loading…
Reference in a new issue