C# Class Jackett.Indexers.FrenchAdn

Provider for French-ADN Private Tracker
Inheritance: BaseIndexer, IIndexer
Datei anzeigen Open project: WarlaxZ/Jackett

Private Properties

Property Type Description
BuildQuery string
CheckLogin System.Threading.Tasks.Task
CleanCacheStorage void
DoLogin System.Threading.Tasks.Task
FindTorrentRows CsQuery.CQ
FormatDate System.DateTime
LatencyNow void
Output void
QueryCache Task
QueryExec Task
QueryTracker Task
ValidateConfig void

Public Methods

Method Description
ApplyConfiguration ( JToken configJson ) : Task

Configure our FADN Provider

Download ( Uri link ) : Task

Download torrent file from tracker

FrenchAdn ( IIndexerManagerService i, IWebClient w, Logger l, IProtectionService ps ) : System
PerformQuery ( TorznabQuery query ) : Task>

Execute our search query

Private Methods

Method Description
BuildQuery ( string term, TorznabQuery query, string url, int page ) : string

Build query to process

CheckLogin ( ) : System.Threading.Tasks.Task

Check logged-in state for provider

CleanCacheStorage ( bool force = false ) : void

Clean Hard Drive Cache Storage

DoLogin ( ) : System.Threading.Tasks.Task

Perform login to racker

FindTorrentRows ( ) : CQ

Find torrent rows in search pages

FormatDate ( string clock ) : System.DateTime

Format Date to DateTime

LatencyNow ( ) : void

Generate a random fake latency to avoid detection on tracker side

Output ( string message, string level = "debug" ) : void

Output message for logging or developpment (console)

QueryCache ( string request ) : Task

Get Torrents Page from Cache by Query Provided

QueryExec ( string request ) : Task

Switch Method for Querying

QueryTracker ( string request ) : Task

Get Torrents Page from Tracker by Query Provided

ValidateConfig ( ) : void

Validate Config entered by user on Jackett

Method Details

ApplyConfiguration() public method

Configure our FADN Provider
public ApplyConfiguration ( JToken configJson ) : Task
configJson JToken Our params in Json
return Task

Download() public method

Download torrent file from tracker
public Download ( Uri link ) : Task
link System.Uri URL string
return Task

FrenchAdn() public method

public FrenchAdn ( IIndexerManagerService i, IWebClient w, Logger l, IProtectionService ps ) : System
i IIndexerManagerService
w Jackett.Utils.Clients.IWebClient
l Logger
ps IProtectionService
return System

PerformQuery() public method

Execute our search query
public PerformQuery ( TorznabQuery query ) : Task>
query Jackett.Models.TorznabQuery Query
return Task>