Module ruya :: Class Config
[hide private]
[frames] | no frames]

Class Config

source code

object --+
         |
        Config

Ruya's Crawler uses configuration objects to determine various settings during crawl. It covers This class simply groups them under a single class for ease of maintenance and usage. It enables a developer to have different configuration profiles, and use them best suited to the requirements.

Nested Classes [hide private]
  CrawlConfig
Ruya's crawler configuration object stores settings that are specific during a crawl.
  RedirectConfig
Ruya's redirect configuration object stores settings specific to handling redirects during a crawl.
  LogConfig
Ruya's logging configuration object stores pointers to user-defined logging functions.
Instance Methods [hide private]
None
__init__(self, crawlconfig=None, redirectconfig=None, logconfig=None)
Constructor.
source code

Inherited from object: __delattr__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __str__

Instance Variables [hide private]
  crawlconfig
Valid instance of Config.CrawlConfig object.
  redirectconfig
Valid instance of Config.RedirectConfig object.
  logconfig
Valid instance of Config.LogConfig object.
Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__init__(self, crawlconfig=None, redirectconfig=None, logconfig=None)
(Constructor)

source code 
Constructor.
Returns: None
None
Overrides: object.__init__

Note: Please refer to Instance Variables section for details on each parameter.