HCE Project Python language Distributed Tasks Manager Application, Distributed Crawler Application and client API bindings.
2.0.0-chaika
Hierarchical Cluster Engine Python language binding
|
Classes | |
class | Cookie |
class | DomainProperty |
Public Member Functions | |
def | __init__ (self, propertyString=None) |
def | addCookie (self, url, cookie, strip=True) |
def | getCookie (self, url, stage=STAGE_DEFAULT) |
Public Attributes | |
cookiesDict | |
property | |
Static Public Attributes | |
int | STAGE_REGULAR = 1 |
int | STAGE_REDIRECT = 2 |
int | STAGE_ROBOTS = 4 |
int | STAGE_RSS = 8 |
int | STAGE_DEFAULT = STAGE_REGULAR | STAGE_REDIRECT | STAGE_ROBOTS | STAGE_RSS |
string | DOMAIN_DEFAULT = '.*' |
string | ERROR_BAD_TYPE_INPUT_PROPERTY = "Bad type (%s) of input property: %s" |
string | ERROR_BAD_TYPE_FOUND_PROPERTY = "Bad type (%s) of found property: %s" |
string | ERROR_INPUT_PROPERTY = "Input wrong properties: %s" |
string | ERROR_INITIALIZATION = "Initialization class '%s' was failed. Error: '%s'" |
Private Member Functions | |
def | __loadProperty (self, propertyString) |
def | __stripUrl (self, url) |
def | __extractPair (self, element) |
def | __splitCookieString (self, cookieString) |
def | __isAllowedCookie (self, url, cookieObj) |
def | __extractDomainProperty (self, url) |
def | __isAllowedStage (self, stage, propertyStage) |
def | __getDomainProperty (self, properties, domain) |
Definition at line 25 of file HTTPCookieResolver.py.
def dc_crawler.HTTPCookieResolver.HTTPCookieResolver.__init__ | ( | self, | |
propertyString = None |
|||
) |
Definition at line 74 of file HTTPCookieResolver.py.
|
private |
Definition at line 238 of file HTTPCookieResolver.py.
|
private |
|
private |
Definition at line 273 of file HTTPCookieResolver.py.
|
private |
Definition at line 205 of file HTTPCookieResolver.py.
|
private |
|
private |
|
private |
Definition at line 152 of file HTTPCookieResolver.py.
|
private |
def dc_crawler.HTTPCookieResolver.HTTPCookieResolver.addCookie | ( | self, | |
url, | |||
cookie, | |||
strip = True |
|||
) |
def dc_crawler.HTTPCookieResolver.HTTPCookieResolver.getCookie | ( | self, | |
url, | |||
stage = STAGE_DEFAULT |
|||
) |
Definition at line 309 of file HTTPCookieResolver.py.
dc_crawler.HTTPCookieResolver.HTTPCookieResolver.cookiesDict |
Definition at line 75 of file HTTPCookieResolver.py.
|
static |
Definition at line 33 of file HTTPCookieResolver.py.
|
static |
Definition at line 37 of file HTTPCookieResolver.py.
|
static |
Definition at line 36 of file HTTPCookieResolver.py.
|
static |
Definition at line 39 of file HTTPCookieResolver.py.
|
static |
Definition at line 38 of file HTTPCookieResolver.py.
dc_crawler.HTTPCookieResolver.HTTPCookieResolver.property |
Definition at line 76 of file HTTPCookieResolver.py.
|
static |
Definition at line 32 of file HTTPCookieResolver.py.
|
static |
Definition at line 28 of file HTTPCookieResolver.py.
|
static |
Definition at line 27 of file HTTPCookieResolver.py.
|
static |
Definition at line 29 of file HTTPCookieResolver.py.
|
static |
Definition at line 30 of file HTTPCookieResolver.py.