From f703f39bcb56ffc6ae81aa2e54becde519fc2faa Mon Sep 17 00:00:00 2001 From: Jan Bader Date: Tue, 7 Apr 2026 23:51:50 +0200 Subject: [PATCH] make load more strict --- downloader.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/downloader.py b/downloader.py index df106fc..746b71d 100644 --- a/downloader.py +++ b/downloader.py @@ -336,7 +336,7 @@ def download_all_invoices() -> list[Path]: if year != "all": year_select = page.locator("select#yearSelection, select#receiptDateId").first if year_select.count() > 0: - with page.expect_navigation(wait_until="domcontentloaded"): + with page.expect_navigation(wait_until="domcontentloaded", timeout=30000): year_select.select_option(value=year) time.sleep(1)