yts: yes, the domain changed back to .am again. resolves #3948

This commit is contained in:
Garfield69
2018-10-10 07:59:47 +13:00
parent acc1e7e65a
commit 4373c38869

View File

@@ -18,7 +18,7 @@ namespace Jackett.Common.Indexers
public class Yts : BaseWebIndexer public class Yts : BaseWebIndexer
{ {
public override string[] LegacySiteLinks { get; protected set; } = new string[] { public override string[] LegacySiteLinks { get; protected set; } = new string[] {
"https://yts.am/", "https://yts.ag/",
}; };
private string ApiEndpoint { get { return SiteLink + "api/v2/list_movies.json"; } } private string ApiEndpoint { get { return SiteLink + "api/v2/list_movies.json"; } }
@@ -32,7 +32,7 @@ namespace Jackett.Common.Indexers
public Yts(IIndexerConfigurationService configService, WebClient wc, Logger l, IProtectionService ps) public Yts(IIndexerConfigurationService configService, WebClient wc, Logger l, IProtectionService ps)
: base(name: "YTS", : base(name: "YTS",
description: "YTS is a Public torrent site specialising in HD movies of small size", description: "YTS is a Public torrent site specialising in HD movies of small size",
link: "https://yts.ag/", link: "https://yts.am/",
caps: new TorznabCapabilities(), caps: new TorznabCapabilities(),
configService: configService, configService: configService,
client: wc, client: wc,