张延森 4 anos atrás
pai
commit
763351dc8a
1 arquivos alterados com 2 adições e 2 exclusões
  1. 2
    2
      crawl/spiders/basketball_price.py

+ 2
- 2
crawl/spiders/basketball_price.py Ver arquivo

@@ -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,