张延森 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,