每30秒一页

This commit is contained in:
2025-10-29 23:32:54 +08:00
parent 08a81e81a8
commit 38f49dc667
2 changed files with 2 additions and 2 deletions

View File

@@ -41,7 +41,7 @@ def index_data_scraper(index_code: str, data_file_path: str):
page.get_by_role("link", name=">", exact=True).click(timeout=30000)
except Exception as e:
break
time.sleep(10)
time.sleep(30)
def get_state():