C# 클래스 Jackett.Indexers.WiHD

Provider for WiHD Private French Tracker
상속: BaseIndexer, IIndexer
파일 보기 프로젝트 열기: Jackett/Jackett

Private Properties

프로퍼티 타입 설명
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

공개 메소드들

메소드 설명
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

비공개 메소드들

메소드 설명
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

메소드 상세

ApplyConfiguration() 공개 메소드

Configure our WiHD Provider
public ApplyConfiguration ( JToken configJson ) : Task
configJson JToken Our params in Json
리턴 Task

PerformQuery() 공개 메소드

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

WiHD() 공개 메소드

public WiHD ( IIndexerManagerService i, IWebClient w, Logger l, IProtectionService ps ) : System
i IIndexerManagerService
w Jackett.Utils.Clients.IWebClient
l Logger
ps IProtectionService
리턴 System