mirror of
https://github.com/Jackett/Jackett.git
synced 2025-09-17 17:34:09 +02:00
mejortorrent: new domain .tv
also add volumefactors to results.
This commit is contained in:
@@ -18,11 +18,15 @@ namespace Jackett.Common.Indexers
|
|||||||
{
|
{
|
||||||
class MejorTorrent : BaseWebIndexer
|
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");
|
public static Uri DownloadUri = new Uri(WebUri, "secciones.php?sec=descargas&ap=contar_varios");
|
||||||
private static Uri SearchUriBase = new Uri(WebUri, "secciones.php");
|
private static Uri SearchUriBase = new Uri(WebUri, "secciones.php");
|
||||||
public static Uri NewTorrentsUri = new Uri(WebUri, "secciones.php?sec=ultimos_torrents");
|
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)
|
public MejorTorrent(IIndexerConfigurationService configService, WebClient wc, Logger l, IProtectionService ps)
|
||||||
: base(name: "MejorTorrent",
|
: base(name: "MejorTorrent",
|
||||||
@@ -458,6 +462,8 @@ namespace Jackett.Common.Indexers
|
|||||||
this.Seeders = 1;
|
this.Seeders = 1;
|
||||||
this.Size = ReleaseInfo.BytesFromGB(1);
|
this.Size = ReleaseInfo.BytesFromGB(1);
|
||||||
this._originalTitle = "";
|
this._originalTitle = "";
|
||||||
|
this.DownloadVolumeFactor = 0;
|
||||||
|
this.UploadVolumeFactor = 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
public int Season { get { return _season; } set { _season = value; TitleOriginal = _originalTitle; } }
|
public int Season { get { return _season; } set { _season = value; TitleOriginal = _originalTitle; } }
|
||||||
|
Reference in New Issue
Block a user