2 İşlemeler 3ee8ade98b ... 0c31de1a65

Yazar SHA1 Mesaj Tarih
  sunhao 0c31de1a65 Merge branch 'master' of http://101.200.220.49:8001/houxiaohua/shop_live_scraper 3 yıl önce
  sunhao 54d40228db 修复语法 3 yıl önce

+ 1 - 1
live_promotion_detail_v1_sale_scraper.py

@@ -139,7 +139,7 @@ if __name__ == "__main__":
139 139
 
140 140
             sys.stdout.flush()
141 141
 
142
-            task = threading.Thread(target=scrape, args=(heat))
142
+            task = threading.Thread(target=scrape, args=(heat,))
143 143
             task.start()  # 准备就绪,等待cpu执行
144 144
 
145 145
         current_time = time.time()

+ 1 - 1
live_promotions_scraper.py

@@ -97,7 +97,7 @@ if __name__ == "__main__":
97 97
         if increment > 0:
98 98
 
99 99
             sys.stdout.flush()
100
-            task = threading.Thread(target=scrape, args=(heat))
100
+            task = threading.Thread(target=scrape, args=(heat,))
101 101
             task.start()  # 准备就绪,等待cpu执行
102 102
 
103 103
         current_time = time.time()