C# Class Jackett.Indexers.Abnormal

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

Private Properties

Property Type Description
agoToDate System.DateTime
buildQuery string
cleanCacheStorage void
findTorrentRows CsQuery.CQ
latencyNow void
output void
queryCache Task
queryExec Task
queryTracker Task
validateConfig void

Public Methods

Method Description
Abnormal ( IIndexerManagerService i, IWebClient w, Logger l, IProtectionService ps ) : System
ApplyConfiguration ( JToken configJson ) : Task

Configure our WiHD Provider

PerformQuery ( TorznabQuery query ) : Task>

Execute our search query

Private Methods

Method Description
agoToDate ( IList clockList ) : System.DateTime

Convert Ago date to DateTime

buildQuery ( string term, TorznabQuery query, string url, int page ) : string

Build query to process

cleanCacheStorage ( System.Boolean force = false ) : void

Clean Hard Drive Cache Storage

findTorrentRows ( ) : CQ

Find torrent rows in search pages

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

Abnormal() public method

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

ApplyConfiguration() public method

Configure our WiHD 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>