forked from gaugendre/ofx-processor
Bypass lcl privacy notice
This commit is contained in:
parent
e350e8c75c
commit
f413c617e0
2 changed files with 7 additions and 1 deletions
|
@ -38,6 +38,12 @@ class LclDownloader:
|
|||
|
||||
click.secho("Logging in to LCL...", fg="blue")
|
||||
selenium.get("https://monespace.lcl.fr/connexion")
|
||||
try:
|
||||
self._click(By.ID, "popin_tc_privacy_button_2")
|
||||
except:
|
||||
# If the user has already accepted the privacy policy,
|
||||
# the button is not present
|
||||
pass
|
||||
login_input = selenium.find_element(By.ID, "identifier")
|
||||
login_input.send_keys(self.config.bank_identifier)
|
||||
self._click(By.CLASS_NAME, "app-cta-button")
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
[tool.poetry]
|
||||
name = "ofx-processor"
|
||||
version = "3.2.0"
|
||||
version = "3.2.1"
|
||||
description = "Personal ofx processor"
|
||||
readme = "README.md"
|
||||
license = "GPL-3.0-or-later"
|
||||
|
|
Loading…
Reference in a new issue