C# Class Jackett.Indexers.WiHD

Provider for WiHD Private French Tracker
Inheritance: BaseIndexer, IIndexer
Afficher le fichier Open project: Jackett/Jackett

Private Properties

Свойство Type Description
UnixTimeNow long
agoToDate System.DateTime
buildQuery string
cleanCacheStorage void
findTorrentRows CsQuery.CQ
latencyNow void
mediaToCategory string
output void
queryCache Task
queryExec Task
queryTracker Task
validateConfig void

Méthodes publiques

Méthode Description
ApplyConfiguration ( JToken configJson ) : Task

Configure our WiHD Provider

PerformQuery ( TorznabQuery query ) : Task>

Execute our search query

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

Private Methods

Méthode Description
UnixTimeNow ( ) : long

Generate an UTC Unix TimeStamp

agoToDate ( IList clockList ) : System.DateTime

Convert Ago date to DateTime

buildQuery ( string term, TorznabQuery query, string url, int page = 1 ) : 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

mediaToCategory ( string media, string name ) : string

Retrieve category ID from media ID

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 méthode

Configure our WiHD Provider
public ApplyConfiguration ( JToken configJson ) : Task
configJson JToken Our params in Json
Résultat Task

PerformQuery() public méthode

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

WiHD() public méthode

public WiHD ( IIndexerManagerService i, IWebClient w, Logger l, IProtectionService ps ) : System
i IIndexerManagerService
w Jackett.Utils.Clients.IWebClient
l Logger
ps IProtectionService
Résultat System