Your Name 6 年之前
父節點
當前提交
858ab7ca29
共有 1 個文件被更改,包括 48 次插入48 次删除
  1. 48 48
      hg3535/spiders/roll_lanqiu.py

+ 48 - 48
hg3535/spiders/roll_lanqiu.py

@@ -218,104 +218,104 @@ class LanqiuSpider(scrapy.Spider):
             try:
                 total_sizes = result['o']["ou"]["v"]
                 total_sizes_big_rule,total_sizes_big,total_sizes_small_rule,total_sizes_small = rangqiu_daxiao(inner=total_sizes)
-                total_sizes_dict_rule["total_sizes_big"] = total_sizes_big_rule
-                total_sizes_dict["total_sizes_big"] = total_sizes_big
-                total_sizes_dict_rule["total_sizes_small"] = total_sizes_small_rule
-                total_sizes_dict["total_sizes_small"] = total_sizes_small
+                total_sizes_dict_rule["total_size_big"] = total_sizes_big_rule
+                total_sizes_dict["total_size_big"] = total_sizes_big
+                total_sizes_dict_rule["total_size_small"] = total_sizes_small_rule
+                total_sizes_dict["total_size_small"] = total_sizes_small
             except:
                 total_sizes_big_rule = ""
                 total_sizes_big = ""
                 total_sizes_small_rule = ""
                 total_sizes_small = ""
-                total_sizes_dict_rule["total_sizes_big"] = total_sizes_big_rule
-                total_sizes_dict["total_sizes_big"] = total_sizes_big
-                total_sizes_dict_rule["total_sizes_small"] = total_sizes_small_rule
-                total_sizes_dict["total_sizes_small"] = total_sizes_small
+                total_sizes_dict_rule["total_size_big"] = total_sizes_big_rule
+                total_sizes_dict["total_size_big"] = total_sizes_big
+                total_sizes_dict_rule["total_size_small"] = total_sizes_small_rule
+                total_sizes_dict["total_size_small"] = total_sizes_small
             # 上半场总分大小
             try:
                 half_total_sizes = result['o']["ou1st"]["v"]
                 half_total_sizes_big_rule,half_total_sizes_big,half_total_sizes_small_rule,half_total_sizes_small = rangqiu_daxiao(inner=half_total_sizes)
-                total_sizes_dict_rule["half_total_sizes_big"] = half_total_sizes_big_rule
-                total_sizes_dict["half_total_sizes_big"] = half_total_sizes_big
-                total_sizes_dict_rule["half_total_sizes_small"] = half_total_sizes_small_rule
-                total_sizes_dict["half_total_sizes_small"] = half_total_sizes_small
+                total_sizes_dict_rule["half_total_size_big"] = half_total_sizes_big_rule
+                total_sizes_dict["half_total_size_big"] = half_total_sizes_big
+                total_sizes_dict_rule["half_total_size_small"] = half_total_sizes_small_rule
+                total_sizes_dict["half_total_size_small"] = half_total_sizes_small
             except:
                 half_total_sizes_big_rule = ""
                 half_total_sizes_big = ""
                 half_total_sizes_small_rule = ""
                 half_total_sizes_small = ""
-                total_sizes_dict_rule["half_total_sizes_big"] = half_total_sizes_big_rule
-                total_sizes_dict["half_total_sizes_big"] = half_total_sizes_big
-                total_sizes_dict_rule["half_total_sizes_small"] = half_total_sizes_small_rule
-                total_sizes_dict["half_total_sizes_small"] = half_total_sizes_small
+                total_sizes_dict_rule["half_total_size_big"] = half_total_sizes_big_rule
+                total_sizes_dict["half_total_size_big"] = half_total_sizes_big
+                total_sizes_dict_rule["half_total_size_small"] = half_total_sizes_small_rule
+                total_sizes_dict["half_total_size_small"] = half_total_sizes_small
             # 第一节总分大小
             try:
                 one_total_sizes = result['o']["ou1st"]["v"]
                 one_total_sizes_big_rule,one_total_sizes_big,one_total_sizes_small_rule,one_total_sizes_small = rangqiu_daxiao(inner=one_total_sizes)
-                total_sizes_dict_rule["one_total_sizes_big"] = one_total_sizes_big_rule
-                total_sizes_dict["one_total_sizes_big"] = one_total_sizes_big
-                total_sizes_dict_rule["one_total_sizes_small"] = one_total_sizes_small_rule
-                total_sizes_dict["one_total_sizes_small"] = one_total_sizes_small
+                total_sizes_dict_rule["one_total_size_big"] = one_total_sizes_big_rule
+                total_sizes_dict["one_total_size_big"] = one_total_sizes_big
+                total_sizes_dict_rule["one_total_size_small"] = one_total_sizes_small_rule
+                total_sizes_dict["one_total_size_small"] = one_total_sizes_small
             except:
                 one_total_sizes_big_rule = ""
                 one_total_sizes_big = ""
                 one_total_sizes_small_rule = ""
                 one_total_sizes_small = ""
-                total_sizes_dict_rule["one_total_sizes_big"] = one_total_sizes_big_rule
-                total_sizes_dict["one_total_sizes_big"] = one_total_sizes_big
-                total_sizes_dict_rule["one_total_sizes_small"] = one_total_sizes_small_rule
-                total_sizes_dict["one_total_sizes_small"] = one_total_sizes_small
+                total_sizes_dict_rule["one_total_size_big"] = one_total_sizes_big_rule
+                total_sizes_dict["one_total_size_big"] = one_total_sizes_big
+                total_sizes_dict_rule["one_total_size_small"] = one_total_sizes_small_rule
+                total_sizes_dict["one_total_size_small"] = one_total_sizes_small
             # 第二节场总分大小
             try:
                 two_total_sizes = result['o']["ou2st"]["v"]
                 two_total_sizes_big_rule,two_total_sizes_big,two_total_sizes_small_rule,two_total_sizes_small = rangqiu_daxiao(inner=two_total_sizes)
-                total_sizes_dict_rule["two_total_sizes_big"] = two_total_sizes_big_rule
-                total_sizes_dict["two_total_sizes_big"] = two_total_sizes_big
-                total_sizes_dict_rule["two_total_sizes_small"] = two_total_sizes_small_rule
-                total_sizes_dict["two_total_sizes_small"] = two_total_sizes_small
+                total_sizes_dict_rule["two_total_size_big"] = two_total_sizes_big_rule
+                total_sizes_dict["two_total_size_big"] = two_total_sizes_big
+                total_sizes_dict_rule["two_total_size_small"] = two_total_sizes_small_rule
+                total_sizes_dict["two_total_size_small"] = two_total_sizes_small
             except:
                 two_total_sizes_big_rule = ""
                 two_total_sizes_big = ""
                 two_total_sizes_small_rule = ""
                 two_total_sizes_small = ""
-                total_sizes_dict_rule["two_total_sizes_big"] = two_total_sizes_big_rule
-                total_sizes_dict["two_total_sizes_big"] = two_total_sizes_big
-                total_sizes_dict_rule["two_total_sizes_small"] = two_total_sizes_small_rule
-                total_sizes_dict["two_total_sizes_small"] = two_total_sizes_small
+                total_sizes_dict_rule["two_total_size_big"] = two_total_sizes_big_rule
+                total_sizes_dict["two_total_size_big"] = two_total_sizes_big
+                total_sizes_dict_rule["two_total_size_small"] = two_total_sizes_small_rule
+                total_sizes_dict["two_total_size_small"] = two_total_sizes_small
             # 第三节总分大小
             try:
                 three_total_sizes = result['o']["ou3st"]["v"]
                 three_total_sizes_big_rule,three_total_sizes_big,three_total_sizes_small_rule,three_total_sizes_small = rangqiu_daxiao(inner=three_total_sizes)
-                total_sizes_dict_rule["three_total_sizes_big"] = three_total_sizes_big_rule
-                total_sizes_dict["three_total_sizes_big"] = three_total_sizes_big
-                total_sizes_dict_rule["three_total_sizes_small"] = three_total_sizes_small_rule
-                total_sizes_dict["three_total_sizes_small"] = three_total_sizes_small
+                total_sizes_dict_rule["three_total_size_big"] = three_total_sizes_big_rule
+                total_sizes_dict["three_total_size_big"] = three_total_sizes_big
+                total_sizes_dict_rule["three_total_size_small"] = three_total_sizes_small_rule
+                total_sizes_dict["three_total_size_small"] = three_total_sizes_small
             except:
                 three_total_sizes_big_rule = ""
                 three_total_sizes_big = ""
                 three_total_sizes_small_rule = ""
                 three_total_sizes_small = ""
-                total_sizes_dict_rule["three_total_sizes_big"] = three_total_sizes_big_rule
-                total_sizes_dict["three_total_sizes_big"] = three_total_sizes_big
-                total_sizes_dict_rule["three_total_sizes_small"] = three_total_sizes_small_rule
-                total_sizes_dict["three_total_sizes_small"] = three_total_sizes_small
+                total_sizes_dict_rule["three_total_size_big"] = three_total_sizes_big_rule
+                total_sizes_dict["three_total_size_big"] = three_total_sizes_big
+                total_sizes_dict_rule["three_total_size_small"] = three_total_sizes_small_rule
+                total_sizes_dict["three_total_size_small"] = three_total_sizes_small
             # 第四节总分大小
             try:
                 four_total_sizes = result['o']["ou4st"]["v"]
                 four_total_sizes_big_rule,four_total_sizes_big,four_total_sizes_small_rule,four_total_sizes_small = rangqiu_daxiao(inner=four_total_sizes)
-                total_sizes_dict_rule["four_total_sizes_big"] = four_total_sizes_big_rule
-                total_sizes_dict["four_total_sizes_big"] = four_total_sizes_big
-                total_sizes_dict_rule["four_total_sizes_small"] = four_total_sizes_small_rule
-                total_sizes_dict["four_total_sizes_small"] = four_total_sizes_small
+                total_sizes_dict_rule["four_total_size_big"] = four_total_sizes_big_rule
+                total_sizes_dict["four_total_size_big"] = four_total_sizes_big
+                total_sizes_dict_rule["four_total_size_small"] = four_total_sizes_small_rule
+                total_sizes_dict["four_total_size_small"] = four_total_sizes_small
             except:
                 four_total_sizes_big_rule = ""
                 four_total_sizes_big = ""
                 four_total_sizes_small_rule = ""
                 four_total_sizes_small = ""
-                total_sizes_dict_rule["four_total_sizes_big"] = four_total_sizes_big_rule
-                total_sizes_dict["four_total_sizes_big"] = four_total_sizes_big
-                total_sizes_dict_rule["four_total_sizes_small"] = four_total_sizes_small_rule
-                total_sizes_dict["four_total_sizes_small"] = four_total_sizes_small
+                total_sizes_dict_rule["four_total_size_big"] = four_total_sizes_big_rule
+                total_sizes_dict["four_total_size_big"] = four_total_sizes_big
+                total_sizes_dict_rule["four_total_size_small"] = four_total_sizes_small_rule
+                total_sizes_dict["four_total_size_small"] = four_total_sizes_small
 
 # ----------------------------------------总分单双分割线------------------------------------------------------------------
             # 全场 总分单双