|
|
@@ -31,18 +31,6 @@ class Roll_Zuqiupipeline(object):
|
|
|
def _do_calculation(self, item, out):
|
|
|
logger = logging.getLogger(__name__)
|
|
|
pt = 4
|
|
|
- # 比赛日期
|
|
|
- # try:
|
|
|
- # data_game = item['data_game'].split("/")
|
|
|
- # month = str(data_game[1].strip())
|
|
|
- # day = str(data_game[0])
|
|
|
- # except Exception as e:
|
|
|
- # logger.warning(e)
|
|
|
- # data_game = item['data_game'].split(" ")
|
|
|
- # months = str(data_game[1].strip())
|
|
|
- # month_dict = {'Jan': '01', 'Feb': '02', 'Mar': '03', 'Apr': '04', 'May': '05', 'Jun': '06', 'Jul': '07', 'Aug': '08', 'Sep': '09', 'Oct': '10', 'Nov': '11', 'Dec': '12'}
|
|
|
- # month = month_dict[months]
|
|
|
- # day = str(data_game[0])
|
|
|
# 比赛时间
|
|
|
time_game = str(item['time_game'])
|
|
|
# 现在时间,时间戳
|