|
|
@@ -121,7 +121,9 @@ class Scraper1688:
|
|
|
page, initial_count = 1, len(all_links)
|
|
|
|
|
|
while len(all_links) < total_count + initial_count:
|
|
|
- print(f"[*] 列表页采集: 第 {page} 页...")
|
|
|
+ page_anotation = f"[∫] 列表页采集: 第 {page} 页...";
|
|
|
+ print(page_anotation)
|
|
|
+ if self.log_callback: self.log_callback(page_anotation)
|
|
|
self.driver.get(f"{base_url}&beginPage={page}&page={page}")
|
|
|
self.check_for_captcha()
|
|
|
|