C# Class Jackett.Indexers.Xthor

Provider for Xthor Private French Tracker
Inheritance: BaseIndexer, IIndexer
ファイルを表示 Open project: Jackett/Jackett

Private Properties

Property Type Description
BuildQuery string
CheckApiState void
CleanCacheStorage void
Output void
QueryCache Task
QueryExec Task
QueryTracker Task
ValidateConfig void

Public Methods

Method Description
ApplyConfiguration ( JToken configJson ) : Task

Configure our Provider

PerformQuery ( TorznabQuery query ) : Task>

Execute our search query

Xthor ( IIndexerManagerService i, IWebClient w, Logger l, IProtectionService ps ) : System

Private Methods

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

Build query to process

CheckApiState ( XthorError state ) : void

Check API's state

CleanCacheStorage ( bool force = false ) : void

Clean Hard Drive Cache Storage

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 Provider
public ApplyConfiguration ( JToken configJson ) : Task
configJson JToken Our params in Json
return Task

PerformQuery() public method

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

Xthor() public method

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