张延森 4 年之前
父節點
當前提交
763351dc8a
共有 1 個檔案被更改,包括 2 行新增2 行删除
  1. 2
    2
      crawl/spiders/basketball_price.py

+ 2
- 2
crawl/spiders/basketball_price.py 查看文件

27
 
27
 
28
       # 其他相关属性
28
       # 其他相关属性
29
       details = node.css(cssDetail).css("td")
29
       details = node.css(cssDetail).css("td")
30
-      homeTeam = details[3].css('::text').get()
31
-      awayTeam = details[4].css('::text').get()
30
+      homeTeam = details[4].css('::text').get()
31
+      awayTeam = details[3].css('::text').get()
32
 
32
 
33
       match = BSTPrice(
33
       match = BSTPrice(
34
         matchId,
34
         matchId,