Your Name 6 年 前
コミット
9295cb6adc
1 ファイル変更49 行追加49 行削除
  1. 49 49
      hg3535/spiders/lanqiu.py

+ 49 - 49
hg3535/spiders/lanqiu.py

@@ -242,104 +242,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, pt=pt)
-                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, pt=pt)
-                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, pt=pt)
-                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
+                one_total_sizes_big_rule,one_total_size_big,one_total_sizes_small_rule,one_total_sizes_small = rangqiu_daxiao(inner=one_total_sizes, pt=pt)
+                total_sizes_dict_rule["one_total_size_big"] = one_total_sizes_big_rule
+                total_sizes_dict["one_total_size_big"] = one_total_size_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']["ou1st"]["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, pt=pt)
-                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']["ou1st"]["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, pt=pt)
-                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']["ou1st"]["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, pt=pt)
-                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
 
 # ----------------------------------------总分单双分割线------------------------------------------------------------------
             # 全场 总分单双