SYMBOL INDEX (173 symbols across 27 files) FILE: api/proxyApi.py class JsonResponse (line 33) | class JsonResponse(Response): method force_type (line 35) | def force_type(cls, response, environ=None): function index (line 55) | def index(): function get (line 60) | def get(): function pop (line 67) | def pop(): function refresh (line 74) | def refresh(): function getAll (line 80) | def getAll(): function delete (line 87) | def delete(): function getCount (line 94) | def getCount(): function runFlask (line 106) | def runFlask(): FILE: db/dbClient.py class DbClient (line 26) | class DbClient(withMetaclass(Singleton)): method __init__ (line 51) | def __init__(self, db_conn): method parseDbConn (line 60) | def parseDbConn(cls, db_conn): method __initDbClient (line 70) | def __initDbClient(self): method get (line 89) | def get(self, https, **kwargs): method put (line 92) | def put(self, key, **kwargs): method update (line 95) | def update(self, key, value, **kwargs): method delete (line 98) | def delete(self, key, **kwargs): method exists (line 101) | def exists(self, key, **kwargs): method pop (line 104) | def pop(self, https, **kwargs): method getAll (line 107) | def getAll(self, https): method clear (line 110) | def clear(self): method changeTable (line 113) | def changeTable(self, name): method getCount (line 116) | def getCount(self): method test (line 119) | def test(self): FILE: db/redisClient.py class RedisClient (line 25) | class RedisClient(object): method __init__ (line 34) | def __init__(self, **kwargs): method get (line 50) | def get(self, https): method put (line 64) | def put(self, proxy_obj): method pop (line 73) | def pop(self, https): method delete (line 83) | def delete(self, proxy_str): method exists (line 91) | def exists(self, proxy_str): method update (line 99) | def update(self, proxy_obj): method getAll (line 107) | def getAll(self, https): method clear (line 118) | def clear(self): method getCount (line 125) | def getCount(self): method changeTable (line 133) | def changeTable(self, name): method test (line 141) | def test(self): FILE: db/ssdbClient.py class SsdbClient (line 27) | class SsdbClient(object): method __init__ (line 35) | def __init__(self, **kwargs): method get (line 50) | def get(self, https): method put (line 64) | def put(self, proxy_obj): method pop (line 73) | def pop(self, https): method delete (line 83) | def delete(self, proxy_str): method exists (line 91) | def exists(self, proxy_str): method update (line 99) | def update(self, proxy_obj): method getAll (line 107) | def getAll(self, https): method clear (line 118) | def clear(self): method getCount (line 125) | def getCount(self): method changeTable (line 133) | def changeTable(self, name): method test (line 141) | def test(self): FILE: fetcher/proxyFetcher.py class ProxyFetcher (line 22) | class ProxyFetcher(object): method freeProxy01 (line 28) | def freeProxy01(): method freeProxy02 (line 50) | def freeProxy02(): method freeProxy03 (line 63) | def freeProxy03(): method freeProxy04 (line 74) | def freeProxy04(): method freeProxy05 (line 92) | def freeProxy05(page_count=1): method freeProxy06 (line 111) | def freeProxy06(): method freeProxy07 (line 123) | def freeProxy07(): method freeProxy08 (line 133) | def freeProxy08(): method freeProxy09 (line 143) | def freeProxy09(page_count=1): method freeProxy10 (line 154) | def freeProxy10(): method freeProxy11 (line 164) | def freeProxy11(): FILE: handler/configHandler.py class ConfigHandler (line 22) | class ConfigHandler(withMetaclass(Singleton)): method __init__ (line 24) | def __init__(self): method serverHost (line 28) | def serverHost(self): method serverPort (line 32) | def serverPort(self): method dbConn (line 36) | def dbConn(self): method tableName (line 40) | def tableName(self): method fetchers (line 44) | def fetchers(self): method httpUrl (line 49) | def httpUrl(self): method httpsUrl (line 53) | def httpsUrl(self): method verifyTimeout (line 57) | def verifyTimeout(self): method maxFailCount (line 65) | def maxFailCount(self): method poolSizeMin (line 73) | def poolSizeMin(self): method proxyRegion (line 77) | def proxyRegion(self): method timezone (line 81) | def timezone(self): FILE: handler/logHandler.py class LogHandler (line 44) | class LogHandler(logging.Logger): method __init__ (line 49) | def __init__(self, name, level=DEBUG, stream=True, file=True): method __setFileHandler__ (line 59) | def __setFileHandler__(self, level=None): method __setStreamHandler__ (line 79) | def __setStreamHandler__(self, level=None): FILE: handler/proxyHandler.py class ProxyHandler (line 21) | class ProxyHandler(object): method __init__ (line 24) | def __init__(self): method get (line 29) | def get(self, https=False): method pop (line 39) | def pop(self, https): method put (line 49) | def put(self, proxy): method delete (line 56) | def delete(self, proxy): method getAll (line 64) | def getAll(self, https=False): method exists (line 72) | def exists(self, proxy): method getCount (line 80) | def getCount(self): FILE: helper/check.py class DoValidator (line 27) | class DoValidator(object): method validator (line 33) | def validator(cls, proxy, work_type): method httpValidator (line 59) | def httpValidator(cls, proxy): method httpsValidator (line 66) | def httpsValidator(cls, proxy): method preValidator (line 73) | def preValidator(cls, proxy): method regionGetter (line 80) | def regionGetter(cls, proxy): class _ThreadChecker (line 89) | class _ThreadChecker(Thread): method __init__ (line 92) | def __init__(self, work_type, target_queue, thread_name): method run (line 100) | def run(self): method __ifRaw (line 115) | def __ifRaw(self, proxy): method __ifUse (line 125) | def __ifUse(self, proxy): function Checker (line 142) | def Checker(tp, queue): FILE: helper/fetch.py class _ThreadFetcher (line 24) | class _ThreadFetcher(Thread): method __init__ (line 26) | def __init__(self, fetch_source, proxy_dict): method run (line 35) | def run(self): class Fetcher (line 51) | class Fetcher(object): method __init__ (line 54) | def __init__(self): method run (line 58) | def run(self): FILE: helper/launcher.py function startServer (line 23) | def startServer(): function startScheduler (line 29) | def startScheduler(): function __beforeStart (line 35) | def __beforeStart(): function __showVersion (line 43) | def __showVersion(): function __showConfigure (line 48) | def __showConfigure(): function __checkDBConfig (line 55) | def __checkDBConfig(): FILE: helper/proxy.py class Proxy (line 18) | class Proxy(object): method __init__ (line 20) | def __init__(self, proxy, fail_count=0, region="", anonymous="", method createFromJson (line 33) | def createFromJson(cls, proxy_json): method proxy (line 47) | def proxy(self): method fail_count (line 52) | def fail_count(self): method region (line 57) | def region(self): method anonymous (line 62) | def anonymous(self): method source (line 67) | def source(self): method check_count (line 72) | def check_count(self): method last_status (line 77) | def last_status(self): method last_time (line 82) | def last_time(self): method https (line 87) | def https(self): method to_dict (line 92) | def to_dict(self): method to_json (line 105) | def to_json(self): method fail_count (line 110) | def fail_count(self, value): method check_count (line 114) | def check_count(self, value): method last_status (line 118) | def last_status(self, value): method last_time (line 122) | def last_time(self, value): method https (line 126) | def https(self, value): method region (line 130) | def region(self, value): method add_source (line 133) | def add_source(self, source_str): FILE: helper/scheduler.py function __runProxyFetch (line 27) | def __runProxyFetch(): function __runProxyCheck (line 37) | def __runProxyCheck(): function runScheduler (line 47) | def runScheduler(): FILE: helper/validator.py class ProxyValidator (line 31) | class ProxyValidator(withMetaclass(Singleton)): method addPreValidator (line 37) | def addPreValidator(cls, func): method addHttpValidator (line 42) | def addHttpValidator(cls, func): method addHttpsValidator (line 47) | def addHttpsValidator(cls, func): function formatValidator (line 53) | def formatValidator(proxy): function httpTimeOutValidator (line 59) | def httpTimeOutValidator(proxy): function httpsTimeOutValidator (line 72) | def httpsTimeOutValidator(proxy): function customValidatorExample (line 84) | def customValidatorExample(proxy): FILE: proxyPool.py function cli (line 24) | def cli(): function schedule (line 29) | def schedule(): function server (line 36) | def server(): FILE: test/testConfigHandler.py function testConfig (line 19) | def testConfig(): FILE: test/testDbClient.py function testDbClient (line 18) | def testDbClient(): FILE: test/testLogHandler.py function testLogHandler (line 18) | def testLogHandler(): FILE: test/testProxyClass.py function testProxyClass (line 19) | def testProxyClass(): FILE: test/testProxyFetcher.py function testProxyFetcher (line 19) | def testProxyFetcher(): FILE: test/testProxyValidator.py function testProxyValidator (line 18) | def testProxyValidator(): FILE: test/testRedisClient.py function testRedisClient (line 16) | def testRedisClient(): FILE: test/testSsdbClient.py function testSsdbClient (line 16) | def testSsdbClient(): FILE: util/lazyProperty.py class LazyProperty (line 16) | class LazyProperty(object): method __init__ (line 22) | def __init__(self, func): method __get__ (line 25) | def __get__(self, instance, owner): FILE: util/singleton.py class Singleton (line 16) | class Singleton(type): method __call__ (line 23) | def __call__(cls, *args, **kwargs): FILE: util/six.py function iteritems (line 21) | def iteritems(d, **kw): function iteritems (line 24) | def iteritems(d, **kw): function withMetaclass (line 43) | def withMetaclass(meta, *bases): FILE: util/webRequest.py class WebRequest (line 26) | class WebRequest(object): method __init__ (line 29) | def __init__(self, *args, **kwargs): method user_agent (line 34) | def user_agent(self): method header (line 52) | def header(self): method get (line 62) | def get(self, url, header=None, retry_time=3, retry_interval=5, timeou... method tree (line 90) | def tree(self): method text (line 94) | def text(self): method json (line 98) | def json(self):