Exemple #1
0
 def __init__(self, *args, **kwargs):
     self.count_of_total_proxy = 0 # 验证的代理总数
     self.count_of_activated_proxy = 0 # 验证激活的代理总数
     Event.__init__(self, *args, **kwargs)
Exemple #2
0
 def __init__(self, *args, **kwargs):
     self.count_of_crawl_page = 0    # 爬取的页面数量
     self.count_of_crawl_fail = 0    # 爬取失败的页面数量
     self.count_of_added_proxy = 0   # 添加到 Storage 中的代理数量
     Event.__init__(self, *args, **kwargs)