Notebook
#cache grab - grab all the HTML pages into a SQLite cache without expiry #The news tab returns news items as a list rather than in a table def _get_news(stage,vtype='car',): _tmp = _data(stage,vtype=vtype, tab='news') # return _tmp for stage in [1,2,3,4,5,6,7, 8]: for v in VTYPE_: _get_news(stage,vtype=v) get_stage_stats(stage) for timing in TIMING_: _fetch_timing_data(stage,vtype=v, timerank=timing) for ranking in RANKING_: _fetch_ranking_data(stage,vtype=v, timerank=ranking)