mirror of https://github.com/Jackett/Jackett
parent
c9e6015e99
commit
b26b4717ef
|
@ -21,6 +21,7 @@ namespace Jackett.Common.Indexers.Abstract
|
|||
public abstract class SpeedAppTracker : BaseWebIndexer
|
||||
{
|
||||
protected virtual string ItemsPerPage => "100";
|
||||
protected virtual bool UseP2PReleaseName => false;
|
||||
private readonly Dictionary<string, string> _apiHeaders = new Dictionary<string, string>
|
||||
{
|
||||
{"Accept", "application/json"},
|
||||
|
@ -135,10 +136,10 @@ namespace Jackett.Common.Indexers.Abstract
|
|||
var dlVolumeFactor = row.Value<double>("download_volume_factor");
|
||||
var ulVolumeFactor = row.Value<double>("upload_volume_factor");
|
||||
|
||||
// fix for Retroflix
|
||||
var title = row.Value<string>("name");
|
||||
if (title.ToUpper().StartsWith("[REQUESTED] "))
|
||||
title = title.Substring(12);
|
||||
// fix for #10883
|
||||
if (UseP2PReleaseName && !string.IsNullOrWhiteSpace(row.Value<string>("p2p_release_name")))
|
||||
title = row.Value<string>("p2p_release_name");
|
||||
|
||||
var release = new ReleaseInfo
|
||||
{
|
||||
|
|
|
@ -13,6 +13,7 @@ namespace Jackett.Common.Indexers
|
|||
public class RetroFlix : SpeedAppTracker
|
||||
{
|
||||
protected override string ItemsPerPage => "90";
|
||||
protected override bool UseP2PReleaseName => true;
|
||||
|
||||
public override string[] LegacySiteLinks { get; protected set; } = {
|
||||
"https://retroflix.net/"
|
||||
|
|
Loading…
Reference in New Issue