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