sunhao vor 3 Jahren
Ursprung
Commit
8c94fec6b4
2 geänderte Dateien mit 2 neuen und 0 gelöschten Zeilen
  1. 1 0
      live_promotion_detail_v1_sale_scraper.py
  2. 1 0
      live_promotions_scraper.py

+ 1 - 0
live_promotion_detail_v1_sale_scraper.py

@@ -140,6 +140,7 @@ if __name__ == "__main__":
140 140
             sys.stdout.flush()
141 141
 
142 142
             task = threading.Thread(target=scrape, args=(heat,))
143
+            print(time.strftime("%Y-%m-%d %H:%M:%S", time.localtime()) + ' 启动线程' + str(increment))
143 144
             task.start()  # 准备就绪,等待cpu执行
144 145
 
145 146
         current_time = time.time()

+ 1 - 0
live_promotions_scraper.py

@@ -98,6 +98,7 @@ if __name__ == "__main__":
98 98
 
99 99
             sys.stdout.flush()
100 100
             task = threading.Thread(target=scrape, args=(heat,))
101
+            print(time.strftime("%Y-%m-%d %H:%M:%S", time.localtime()) + ' 启动线程' + str(increment))
101 102
             task.start()  # 准备就绪,等待cpu执行
102 103
 
103 104
         current_time = time.time()