Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrUnknownIndexer = errors.New("Unknown indexer")
View Source
var (
WriteCache = false
)
Functions ¶
func ListDefinitions ¶
Types ¶
type Aggregate ¶ added in v1.5.0
func (Aggregate) Capabilities ¶ added in v1.5.0
func (ag Aggregate) Capabilities() torznab.Capabilities
type IndexerDefinition ¶
type IndexerDefinition struct { Site string `yaml:"site"` Settings []settingsField `yaml:"settings"` Name string `yaml:"name"` Description string `yaml:"description"` Language string `yaml:"language"` Links stringorslice `yaml:"links"` Capabilities capabilitiesBlock `yaml:"caps"` Login loginBlock `yaml:"login"` Search searchBlock `yaml:"search"` }
func LoadDefinition ¶
func LoadDefinition(key string) (*IndexerDefinition, error)
func ParseDefinition ¶
func ParseDefinition(src []byte) (*IndexerDefinition, error)
func ParseDefinitionFile ¶
func ParseDefinitionFile(f *os.File) (*IndexerDefinition, error)
type Runner ¶
type Runner struct { Definition *IndexerDefinition Browser browser.Browsable Cookies http.CookieJar Config config.Config Logger logrus.FieldLogger // contains filtered or unexported fields }
func (*Runner) Capabilities ¶
func (r *Runner) Capabilities() torznab.Capabilities
type Tester ¶ added in v1.3.0
type Tester struct { Runner *Runner Opts TesterOpts }
type TesterOpts ¶ added in v1.3.0
type TesterOpts struct {
Download bool
}
Click to show internal directories.
Click to hide internal directories.