| Home | Trees | Indices | Help |
|---|
|
|
This class encapsulates a source's state.
|
|||
|
|||
| PortalSourceState |
|
||
| bool |
|
||
|
|||
|
|||
| string |
|
||
|
Inherited from Inherited from |
|||
|
|||
|
Inherited from |
|||
|
|||
| string |
last_query = NoneThe source's name, required only to make BaseLogger pick up the correct name for the logger. |
||
| dict |
url_map = NoneA dictionary mapping URLs to related information, like e.g. |
||
| string |
_filename = NoneThe filename to which to write the state. |
||
| string |
source_name = NoneThe source's name again. |
||
|
Inherited from |
|||
|
|||
Initialize the state.
|
Read state from a file self._filename . The highest available pickling protocol is used, this most certainly a binary representation.
|
Write state to file self._filename . The highest available pickling protocol is used, this most certainly a binary representation.
|
Make
|
Make
|
Return printable and readable representation. Heaving set the logging level to DEBUG increases verbosity so that all urls of the url_map are included.
|
|
|||
url_mapA dictionary mapping URLs to related information, like e.g. the position of the content in a file retrieved in a previous run.
|
source_nameThe source's name again. This is a public property that is only used for displaying purposes, so it can be changed if necessary.
|
| Home | Trees | Indices | Help |
|---|
| Generated by Epydoc 3.0.1 on Thu Sep 16 13:42:04 2010 | http://epydoc.sourceforge.net |