mirror of https://github.com/Jackett/Jackett
parent
131c7fea94
commit
c9e6015e99
|
@ -20,6 +20,7 @@ namespace Jackett.Common.Indexers.Abstract
|
|||
[ExcludeFromCodeCoverage]
|
||||
public abstract class SpeedAppTracker : BaseWebIndexer
|
||||
{
|
||||
protected virtual string ItemsPerPage => "100";
|
||||
private readonly Dictionary<string, string> _apiHeaders = new Dictionary<string, string>
|
||||
{
|
||||
{"Accept", "application/json"},
|
||||
|
@ -87,7 +88,7 @@ namespace Jackett.Common.Indexers.Abstract
|
|||
//var categoryMapping = MapTorznabCapsToTrackers(query).Distinct().ToList();
|
||||
var qc = new List<KeyValuePair<string, string>> // NameValueCollection don't support cat[]=19&cat[]=6
|
||||
{
|
||||
{"itemsPerPage", "100"},
|
||||
{"itemsPerPage", ItemsPerPage},
|
||||
{"sort", "torrent.createdAt"},
|
||||
{"direction", "desc"}
|
||||
};
|
||||
|
|
|
@ -12,6 +12,8 @@ namespace Jackett.Common.Indexers
|
|||
[ExcludeFromCodeCoverage]
|
||||
public class RetroFlix : SpeedAppTracker
|
||||
{
|
||||
protected override string ItemsPerPage => "90";
|
||||
|
||||
public override string[] LegacySiteLinks { get; protected set; } = {
|
||||
"https://retroflix.net/"
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue