temp
This commit is contained in:
4
visit.py
4
visit.py
@@ -107,7 +107,7 @@ def run_download(url: str):
|
||||
wait_for_page_load(driver, timeout=20)
|
||||
print(" ✓ Page loaded (eager).")
|
||||
|
||||
wait = WebDriverWait(driver, 10) # Reduced timeout
|
||||
wait = WebDriverWait(driver, 5) # Reduced timeout
|
||||
|
||||
# === License checkbox (quick check) ===
|
||||
try:
|
||||
@@ -131,7 +131,7 @@ def run_download(url: str):
|
||||
|
||||
# === Wait for download ===
|
||||
print(" Waiting for download (max 2 min)...")
|
||||
success, files = is_download_finished(DOWNLOAD_PATH, timeout=120)
|
||||
success, files = is_download_finished(DOWNLOAD_PATH, timeout=30)
|
||||
if success and files:
|
||||
print(f" ✓ Download completed! Files: {files}")
|
||||
log_result(url, True)
|
||||
|
||||
Reference in New Issue
Block a user