|
@@ -417,88 +417,88 @@ class ZuqiuSpider(scrapy.Spider):
|
|
|
|
|
|
|
|
# 球队进球 大条件
|
|
# 球队进球 大条件
|
|
|
home_size_big_rule = home_data[1]
|
|
home_size_big_rule = home_data[1]
|
|
|
- full_dict_rule['home_size_big'] = home_size_big_rule
|
|
|
|
|
|
|
+ full_dict_rule['home_tema_ball_big"'] = home_size_big_rule
|
|
|
|
|
|
|
|
# 球队进球大赔率
|
|
# 球队进球大赔率
|
|
|
home_size_big = home_data[5]
|
|
home_size_big = home_data[5]
|
|
|
- full_dict['home_size_big'] = home_size_big
|
|
|
|
|
|
|
+ full_dict['home_tema_ball_big'] = home_size_big
|
|
|
|
|
|
|
|
# 球队进球小条件
|
|
# 球队进球小条件
|
|
|
home_size_small_rule = home_data[3]
|
|
home_size_small_rule = home_data[3]
|
|
|
- full_dict_rule['home_size_small'] = home_size_small_rule
|
|
|
|
|
|
|
+ full_dict_rule['home_tema_ball_small'] = home_size_small_rule
|
|
|
|
|
|
|
|
# 球队进球小赔率
|
|
# 球队进球小赔率
|
|
|
home_size_small = home_data[7]
|
|
home_size_small = home_data[7]
|
|
|
- full_dict['home_size_small'] = home_size_small
|
|
|
|
|
|
|
+ full_dict['home_tema_ball_small'] = home_size_small
|
|
|
except:
|
|
except:
|
|
|
- full_dict['home_size_small'] = ""
|
|
|
|
|
- full_dict_rule['home_size_small'] = ""
|
|
|
|
|
|
|
+ full_dict['home_tema_ball_small'] = ""
|
|
|
|
|
+ full_dict_rule['home_tema_ball_small'] = ""
|
|
|
|
|
|
|
|
- full_dict['home_size_big'] = ""
|
|
|
|
|
- full_dict_rule['home_size_big'] = ""
|
|
|
|
|
|
|
+ full_dict['home_tema_ball_big'] = ""
|
|
|
|
|
+ full_dict_rule['home_tema_ball_big'] = ""
|
|
|
try:
|
|
try:
|
|
|
half_home_data = data['o']['ou1st']['v']
|
|
half_home_data = data['o']['ou1st']['v']
|
|
|
|
|
|
|
|
half_home_size_big_rule = half_home_data[1]
|
|
half_home_size_big_rule = half_home_data[1]
|
|
|
- half_dict_rule['half_home_size_big'] = half_home_size_big_rule
|
|
|
|
|
|
|
+ half_dict_rule['half_home_tema_ball_big'] = half_home_size_big_rule
|
|
|
|
|
|
|
|
half_home_size_big = half_home_data[5]
|
|
half_home_size_big = half_home_data[5]
|
|
|
- half_dict['half_home_size_big'] = half_home_size_big
|
|
|
|
|
|
|
+ half_dict['half_home_tema_ball_big'] = half_home_size_big
|
|
|
|
|
|
|
|
half_home_size_small_rule = half_home_data[3]
|
|
half_home_size_small_rule = half_home_data[3]
|
|
|
- half_dict_rule['half_home_size_small'] = half_home_size_small_rule
|
|
|
|
|
|
|
+ half_dict_rule['half_home_tema_ball_small'] = half_home_size_small_rule
|
|
|
|
|
|
|
|
half_home_size_small = half_home_data[7]
|
|
half_home_size_small = half_home_data[7]
|
|
|
- half_dict['half_home_size_small'] = half_home_size_small
|
|
|
|
|
|
|
+ half_dict['half_home_tema_ball_small'] = half_home_size_small
|
|
|
|
|
|
|
|
except:
|
|
except:
|
|
|
- half_dict_rule['half_home_size_big'] = ""
|
|
|
|
|
- half_dict['half_home_size_big'] = ""
|
|
|
|
|
|
|
+ half_dict_rule['half_home_tema_ball_big'] = ""
|
|
|
|
|
+ half_dict['half_home_tema_ball_big'] = ""
|
|
|
|
|
|
|
|
- half_dict_rule['half_home_size_small'] = ""
|
|
|
|
|
- half_dict['half_home_size_small'] = ""
|
|
|
|
|
|
|
+ half_dict_rule['half_home_tema_ball_small'] = ""
|
|
|
|
|
+ half_dict['half_home_tema_ball_small'] = ""
|
|
|
|
|
|
|
|
if new_data == 13:
|
|
if new_data == 13:
|
|
|
try:
|
|
try:
|
|
|
guest_data = data['o']['ou']['v']
|
|
guest_data = data['o']['ou']['v']
|
|
|
|
|
|
|
|
guest_size_big_rule = guest_data[1]
|
|
guest_size_big_rule = guest_data[1]
|
|
|
- full_dict_rule['guest_size_big'] = guest_size_big_rule
|
|
|
|
|
|
|
+ full_dict_rule['guest_tema_ball_big'] = guest_size_big_rule
|
|
|
|
|
|
|
|
guest_size_big = guest_data[5]
|
|
guest_size_big = guest_data[5]
|
|
|
- full_dict['guest_size_big'] = guest_size_big
|
|
|
|
|
|
|
+ full_dict['guest_tema_ball_big'] = guest_size_big
|
|
|
|
|
|
|
|
guest_size_small_rule = guest_data[3]
|
|
guest_size_small_rule = guest_data[3]
|
|
|
- full_dict_rule['guest_size_small'] = guest_size_small_rule
|
|
|
|
|
|
|
+ full_dict_rule['guest_tema_ball_small'] = guest_size_small_rule
|
|
|
|
|
|
|
|
guest_size_small = guest_data[7]
|
|
guest_size_small = guest_data[7]
|
|
|
- full_dict['guest_size_small'] = guest_size_small
|
|
|
|
|
|
|
+ full_dict['guest_tema_ball_small'] = guest_size_small
|
|
|
except:
|
|
except:
|
|
|
- full_dict_rule['guest_size_big'] = ""
|
|
|
|
|
- full_dict['guest_size_big'] = ""
|
|
|
|
|
|
|
+ full_dict_rule['guest_tema_ball_big'] = ""
|
|
|
|
|
+ full_dict['guest_tema_ball_big'] = ""
|
|
|
|
|
|
|
|
- full_dict_rule['guest_size_small'] = ""
|
|
|
|
|
- full_dict['guest_size_small'] = ''
|
|
|
|
|
|
|
+ full_dict_rule['guest_tema_ball_small'] = ""
|
|
|
|
|
+ full_dict['guest_tema_ball_small'] = ''
|
|
|
try:
|
|
try:
|
|
|
half_guest_data = data['o']['ou1st']['v']
|
|
half_guest_data = data['o']['ou1st']['v']
|
|
|
|
|
|
|
|
half_guest_size_big_rule = half_guest_data[1]
|
|
half_guest_size_big_rule = half_guest_data[1]
|
|
|
- half_dict_rule['half_guest_size_big'] = half_guest_size_big_rule
|
|
|
|
|
|
|
+ half_dict_rule['half_guest_tema_ball_big'] = half_guest_size_big_rule
|
|
|
|
|
|
|
|
half_guest_size_big = half_guest_data[5]
|
|
half_guest_size_big = half_guest_data[5]
|
|
|
- half_dict['half_guest_size_big'] = half_guest_size_big
|
|
|
|
|
|
|
+ half_dict['half_guest_tema_ball_big'] = half_guest_size_big
|
|
|
|
|
|
|
|
half_guest_size_small_rule = half_guest_data[3]
|
|
half_guest_size_small_rule = half_guest_data[3]
|
|
|
- half_dict_rule['half_guest_size_small'] = half_guest_size_small_rule
|
|
|
|
|
|
|
+ half_dict_rule['half_guest_tema_ball_smalll'] = half_guest_size_small_rule
|
|
|
|
|
|
|
|
half_guest_size_small = half_guest_data[7]
|
|
half_guest_size_small = half_guest_data[7]
|
|
|
- half_dict['half_guest_size_small'] = half_guest_size_small
|
|
|
|
|
|
|
+ half_dict['half_guest_tema_ball_smalll'] = half_guest_size_small
|
|
|
except:
|
|
except:
|
|
|
- half_dict_rule['half_guest_size_big'] = ""
|
|
|
|
|
- half_dict['half_guest_size_big'] = ""
|
|
|
|
|
|
|
+ half_dict_rule['half_guest_tema_ball_big'] = ""
|
|
|
|
|
+ half_dict['half_guest_tema_ball_big'] = ""
|
|
|
|
|
|
|
|
- half_dict_rule['half_guest_size_small'] = ""
|
|
|
|
|
- half_dict['half_guest_size_small'] = ""
|
|
|
|
|
|
|
+ half_dict_rule['half_guest_tema_ball_smalll'] = ""
|
|
|
|
|
+ half_dict['half_guest_tema_ball_smalll'] = ""
|
|
|
|
|
|
|
|
item['league_id'] = league_id
|
|
item['league_id'] = league_id
|
|
|
item['league_name'] = league_name
|
|
item['league_name'] = league_name
|