C# Class Jackett.Indexers.CardigannIndexer

Inheritance: BaseIndexer, IIndexer
Afficher le fichier Open project: Jackett/Jackett Class Usage Examples

Protected Properties

Свойство Type Description
Definition IndexerDefinition
OptionalFileds string[]
landingResult Jackett.Utils.Clients.WebClientStringResult
landingResultDocument IHtmlDocument

Private Properties

Свойство Type Description

Méthodes publiques

Méthode Description
ApplyConfiguration ( JToken configJson ) : Task
CardigannIndexer ( IIndexerManagerService i, IWebClient wc, Logger l, IProtectionService ps ) : Jackett.Utils.Clients
CardigannIndexer ( IIndexerManagerService i, IWebClient wc, Logger l, IProtectionService ps, string DefinitionString ) : Jackett.Utils.Clients
Download ( Uri link ) : Task
GetConfigurationForSetup ( ) : Task
PerformQuery ( TorznabQuery query ) : Task>

Méthodes protégées

Méthode Description
CheckIfLoginIsNeeded ( WebClientStringResult Result, IHtmlDocument document ) : bool
DoLogin ( ) : Task
Init ( string DefinitionString ) : void
QuerySelector ( IElement Element, string Selector ) : IElement
TestLogin ( ) : Task
applyFilters ( string Data, List Filters ) : string
applyGoTemplateText ( string template, object>.Dictionary variables = null ) : string
checkForLoginError ( WebClientStringResult loginResult ) : bool
getTemplateVariablesFromConfigData ( ) : object>.Dictionary
handleSelector ( selectorBlock Selector, IElement Dom ) : string
resolvePath ( string path ) : Uri

Method Details

ApplyConfiguration() public méthode

public ApplyConfiguration ( JToken configJson ) : Task
configJson JToken
Résultat Task

CardigannIndexer() public méthode

public CardigannIndexer ( IIndexerManagerService i, IWebClient wc, Logger l, IProtectionService ps ) : Jackett.Utils.Clients
i IIndexerManagerService
wc Jackett.Utils.Clients.IWebClient
l Logger
ps IProtectionService
Résultat Jackett.Utils.Clients

CardigannIndexer() public méthode

public CardigannIndexer ( IIndexerManagerService i, IWebClient wc, Logger l, IProtectionService ps, string DefinitionString ) : Jackett.Utils.Clients
i IIndexerManagerService
wc Jackett.Utils.Clients.IWebClient
l Logger
ps IProtectionService
DefinitionString string
Résultat Jackett.Utils.Clients

CheckIfLoginIsNeeded() protected méthode

protected CheckIfLoginIsNeeded ( WebClientStringResult Result, IHtmlDocument document ) : bool
Result Jackett.Utils.Clients.WebClientStringResult
document IHtmlDocument
Résultat bool

DoLogin() protected méthode

protected DoLogin ( ) : Task
Résultat Task

Download() public méthode

public Download ( Uri link ) : Task
link System.Uri
Résultat Task

GetConfigurationForSetup() public méthode

public GetConfigurationForSetup ( ) : Task
Résultat Task

Init() protected méthode

protected Init ( string DefinitionString ) : void
DefinitionString string
Résultat void

PerformQuery() public méthode

public PerformQuery ( TorznabQuery query ) : Task>
query Jackett.Models.TorznabQuery
Résultat Task>

QuerySelector() protected méthode

protected QuerySelector ( IElement Element, string Selector ) : IElement
Element IElement
Selector string
Résultat IElement

TestLogin() protected méthode

protected TestLogin ( ) : Task
Résultat Task

applyFilters() protected méthode

protected applyFilters ( string Data, List Filters ) : string
Data string
Filters List
Résultat string

applyGoTemplateText() protected méthode

protected applyGoTemplateText ( string template, object>.Dictionary variables = null ) : string
template string
variables object>.Dictionary
Résultat string

checkForLoginError() protected méthode

protected checkForLoginError ( WebClientStringResult loginResult ) : bool
loginResult Jackett.Utils.Clients.WebClientStringResult
Résultat bool

getTemplateVariablesFromConfigData() protected méthode

protected getTemplateVariablesFromConfigData ( ) : object>.Dictionary
Résultat object>.Dictionary

handleSelector() protected méthode

protected handleSelector ( selectorBlock Selector, IElement Dom ) : string
Selector selectorBlock
Dom IElement
Résultat string

resolvePath() protected méthode

protected resolvePath ( string path ) : Uri
path string
Résultat System.Uri

Property Details

Definition protected_oe property

protected IndexerDefinition Definition
Résultat IndexerDefinition

OptionalFileds protected_oe property

protected string[] OptionalFileds
Résultat string[]

landingResult protected_oe property

protected WebClientStringResult,Jackett.Utils.Clients landingResult
Résultat Jackett.Utils.Clients.WebClientStringResult

landingResultDocument protected_oe property

protected IHtmlDocument landingResultDocument
Résultat IHtmlDocument