From cdf719f19505d720a81ce0e78eb079b5b706f7e5 Mon Sep 17 00:00:00 2001 From: Gabriel Augendre Date: Fri, 29 Nov 2024 20:19:39 +0100 Subject: [PATCH] fix lcl downloader --- ofx_processor/downloaders/lcl.py | 4 ++-- pyproject.toml | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/ofx_processor/downloaders/lcl.py b/ofx_processor/downloaders/lcl.py index bb9c248..aaa5152 100644 --- a/ofx_processor/downloaders/lcl.py +++ b/ofx_processor/downloaders/lcl.py @@ -79,8 +79,8 @@ class LclDownloader: end = datetime.date.today() - datetime.timedelta(days=1) start = end - datetime.timedelta(days=9) - self._type_nth(By.CSS_SELECTOR, "input.range-picker-input", 0, start.strftime("%d/%m/%Y")) - self._type_nth(By.CSS_SELECTOR, "input.range-picker-input", 1, end.strftime("%d/%m/%Y")) + self._type_nth(By.ID, "mat-input-0", 0, start.strftime("%d/%m/%Y")) + self._type_nth(By.ID, "mat-input-1", 0, end.strftime("%d/%m/%Y")) self._click(By.CSS_SELECTOR, "ui-desktop-select button") self._click_nth(By.CSS_SELECTOR, "ui-select-list ul li", 2) diff --git a/pyproject.toml b/pyproject.toml index 6fcf186..27b576c 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [tool.poetry] name = "ofx-processor" -version = "4.5.2" +version = "4.5.3" description = "Personal ofx processor" readme = "README.md" authors = ["Gabriel Augendre "]