def __init__(self): """ update every 2 hour """ CompanyTracker.__init__(self) self.trusted_source = dicts.get_trust_news_source() self.check_period = 2 # check every 2 hour init_kafka()
def __init__(self): CompanyTracker.__init__(self) self.abstract = u'%s iOS榜单入围' self.rank_category = self.__load_rank_names() self.rank_catlog = { 'free': u'免费榜', 'grossing': u'畅销榜', 'charge': u'收费榜' }
def __init__(self): CompanyTracker.__init__(self) self.default_last_check = (datetime.now() - timedelta(days=90)).strftime('%Y-%m-%d') self.alias = { alias: dbutil.get_investor_name(self.db, iid) for iid, alias in dbutil.get_investor_gongshang_with_ids( self.db, *dbutil.get_online_investors(self.db)) } self.online_vcs = dbutil.get_investor_gongshang_with_ids( self.db, *list(set(dbutil.get_online_investors(self.db))))
def __init__(self): CompanyTracker.__init__(self)
def __init__(self): CompanyTracker.__init__(self) self.abstract = u'与同类产品相比,%s Android数据表现 %s'
def __init__(self): CompanyTracker.__init__(self) self.check_period = 2 init_kafka()
def __init__(self): CompanyTracker.__init__(self) self.abstract = u'本月%s共有%s篇新闻报道'
def __init__(self): CompanyTracker.__init__(self) self.check_period = 90 self.today = datetime.now() self.yesterday = self.today - timedelta(days=1)
def __init__(self): """ track dimension 7 :return: """ CompanyTracker.__init__(self)
def __init__(self): CompanyTracker.__init__(self) self.recruit_management = [ title.lower() for title in dicts.get_recruit_managment() ]
def __init__(self): CompanyTracker.__init__(self) self.default_check_period = 2
def __init__(self): CompanyTracker.__init__(self) self.max_2001_release_gap = 14