mejortorrent: new domain .tv

also add volumefactors to results.
This commit is contained in:
Garfield69 2019-03-13 13:54:08 +13:00
parent 895fc4d077
commit 52e89581cf
1 changed files with 8 additions and 2 deletions

View File

@ -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; } }