Skip to content
This repository was archived by the owner on Dec 2, 2025. It is now read-only.
This repository was archived by the owner on Dec 2, 2025. It is now read-only.

Itau login failing #230

@tcana1

Description

@tcana1

I'm getting the following error:

Traceback (most recent call last):
  File "/app/itau-ynab.py", line 593, in <module>
    itau.authenticate()
  File "/usr/local/lib/python3.10/site-packages/pyitau/main.py", line 31, in authenticate
    self._authenticate2()
  File "/usr/local/lib/python3.10/site-packages/pyitau/main.py", line 127, in _authenticate2
    self._session.cookies.set("X-AUTH-TOKEN", page.auth_token)
  File "/usr/local/lib/python3.10/site-packages/pyitau/pages.py", line 34, in auth_token
    return re.search(r"authToken=\'(.*?)\';", self._text).group(1)
AttributeError: 'NoneType' object has no attribute 'group'

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions