From 52e89581cf4a28bd9b80841aa6bbf2a45c161042 Mon Sep 17 00:00:00 2001 From: Garfield69 Date: Wed, 13 Mar 2019 13:54:08 +1300 Subject: [PATCH] mejortorrent: new domain .tv also add volumefactors to results. --- src/Jackett.Common/Indexers/MejorTorrent.cs | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/src/Jackett.Common/Indexers/MejorTorrent.cs b/src/Jackett.Common/Indexers/MejorTorrent.cs index b5074b71b..7a75af2e3 100644 --- a/src/Jackett.Common/Indexers/MejorTorrent.cs +++ b/src/Jackett.Common/Indexers/MejorTorrent.cs @@ -18,11 +18,15 @@ namespace Jackett.Common.Indexers { class MejorTorrent : BaseWebIndexer { - public static Uri WebUri = new Uri("http://www.mejortorrent.org/"); + public static Uri WebUri = new Uri("http://www.mejortorrent.tv/"); public static Uri DownloadUri = new Uri(WebUri, "secciones.php?sec=descargas&ap=contar_varios"); private static Uri SearchUriBase = new Uri(WebUri, "secciones.php"); public static Uri NewTorrentsUri = new Uri(WebUri, "secciones.php?sec=ultimos_torrents"); - public static Encoding MEEncoding = Encoding.GetEncoding("windows-1252"); + public static Encoding MEEncoding = Encoding.GetEncoding("iso-8859-1"); + + public override string[] LegacySiteLinks { get; protected set; } = new string[] { + "http://www.mejortorrent.org/" + }; public MejorTorrent(IIndexerConfigurationService configService, WebClient wc, Logger l, IProtectionService ps) : base(name: "MejorTorrent", @@ -458,6 +462,8 @@ namespace Jackett.Common.Indexers this.Seeders = 1; this.Size = ReleaseInfo.BytesFromGB(1); this._originalTitle = ""; + this.DownloadVolumeFactor = 0; + this.UploadVolumeFactor = 1; } public int Season { get { return _season; } set { _season = value; TitleOriginal = _originalTitle; } }