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
dc_processor.scraper_utils Namespace Reference

Functions

def encode (text)
 
def decode (text)
 
def unicode_decode (text)
 
def md5_encode (text)
 

Detailed Description

@package docstring
 @file scraper_utils.py
 @author Alexey <developers.hce@gmail.com>
 @link http://hierarchical-cluster-engine.com/
 @copyright Copyright &copy; 2013 IOIX Ukraine
 @license http://hierarchical-cluster-engine.com/license/
 @package HCE project node API
 @since 0.1

Function Documentation

◆ decode()

def dc_processor.scraper_utils.decode (   text)

Definition at line 20 of file scraper_utils.py.

20 def decode(text):
21  return base64.b64decode(text)
22 
23 
Here is the caller graph for this function:

◆ encode()

def dc_processor.scraper_utils.encode (   text)

Definition at line 17 of file scraper_utils.py.

17 def encode(text):
18  return base64.b64encode(text)
19 # convert base64 encoded string to plain text
Here is the caller graph for this function:

◆ md5_encode()

def dc_processor.scraper_utils.md5_encode (   text)

Definition at line 28 of file scraper_utils.py.

28 def md5_encode(text):
29  return str(md5.new(unicode_decode(text)).hexdigest())
Here is the call graph for this function:

◆ unicode_decode()

def dc_processor.scraper_utils.unicode_decode (   text)

Definition at line 24 of file scraper_utils.py.

24 def unicode_decode(text):
25  return str(text).decode("utf-8")
26 
27 
Here is the call graph for this function:
Here is the caller graph for this function: