张延森 4 年之前
父節點
當前提交
763351dc8a
共有 1 個文件被更改,包括 2 次插入2 次删除
  1. 2
    2
      crawl/spiders/basketball_price.py

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

@@ -27,8 +27,8 @@ class BasketballSpider(scrapy.Spider):
27 27
 
28 28
       # 其他相关属性
29 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 33
       match = BSTPrice(
34 34
         matchId,