bcpkgfox 0.18.0__tar.gz → 0.18.1__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {bcpkgfox-0.18.0 → bcpkgfox-0.18.1}/PKG-INFO +1 -1
- {bcpkgfox-0.18.0 → bcpkgfox-0.18.1}/bcpkgfox/login_2factor.py +2 -2
- {bcpkgfox-0.18.0 → bcpkgfox-0.18.1}/bcpkgfox.egg-info/PKG-INFO +1 -1
- {bcpkgfox-0.18.0 → bcpkgfox-0.18.1}/setup.py +1 -1
- {bcpkgfox-0.18.0 → bcpkgfox-0.18.1}/README.md +0 -0
- {bcpkgfox-0.18.0 → bcpkgfox-0.18.1}/bcpkgfox/__init__.py +0 -0
- {bcpkgfox-0.18.0 → bcpkgfox-0.18.1}/bcpkgfox/clean.py +0 -0
- {bcpkgfox-0.18.0 → bcpkgfox-0.18.1}/bcpkgfox/cli.py +0 -0
- {bcpkgfox-0.18.0 → bcpkgfox-0.18.1}/bcpkgfox/find_elements.py +0 -0
- {bcpkgfox-0.18.0 → bcpkgfox-0.18.1}/bcpkgfox/get_driver.py +0 -0
- {bcpkgfox-0.18.0 → bcpkgfox-0.18.1}/bcpkgfox/invoke_api.py +0 -0
- {bcpkgfox-0.18.0 → bcpkgfox-0.18.1}/bcpkgfox/system.py +0 -0
- {bcpkgfox-0.18.0 → bcpkgfox-0.18.1}/bcpkgfox.egg-info/SOURCES.txt +0 -0
- {bcpkgfox-0.18.0 → bcpkgfox-0.18.1}/bcpkgfox.egg-info/dependency_links.txt +0 -0
- {bcpkgfox-0.18.0 → bcpkgfox-0.18.1}/bcpkgfox.egg-info/entry_points.txt +0 -0
- {bcpkgfox-0.18.0 → bcpkgfox-0.18.1}/bcpkgfox.egg-info/requires.txt +0 -0
- {bcpkgfox-0.18.0 → bcpkgfox-0.18.1}/bcpkgfox.egg-info/top_level.txt +0 -0
- {bcpkgfox-0.18.0 → bcpkgfox-0.18.1}/setup.cfg +0 -0
|
@@ -477,7 +477,7 @@ class _LoginEproc:
|
|
|
477
477
|
Verifica se o login foi feito diretamente (sem necessidade de 2FA).
|
|
478
478
|
"""
|
|
479
479
|
page_source = self.driver.page_source
|
|
480
|
-
indicadores_sucesso = ["Painel do Advogado", "Citações/Intimações", "Painel do usuário", "selInfraUnidades"]
|
|
480
|
+
indicadores_sucesso = ["Painel do Advogado", "Citações/Intimações", "Painel do usuário", "selInfraUnidades", "Seleção de perfil"]
|
|
481
481
|
return any(indicador in page_source for indicador in indicadores_sucesso)
|
|
482
482
|
|
|
483
483
|
def _finalizar_login(self):
|
|
@@ -671,7 +671,6 @@ class _LoginPje:
|
|
|
671
671
|
if self._verificar_ja_logado():
|
|
672
672
|
return True
|
|
673
673
|
|
|
674
|
-
#TODO ADICIONAR AREA DO OTP
|
|
675
674
|
code = self._obter_codigo_2fa()
|
|
676
675
|
if code:
|
|
677
676
|
self._insert_codigo_2fa(code)
|
|
@@ -898,6 +897,7 @@ class _LoginPje:
|
|
|
898
897
|
except (TimeoutException, NoSuchElementException):
|
|
899
898
|
# Formulário OTP não apareceu, continua normalmente
|
|
900
899
|
pass
|
|
900
|
+
|
|
901
901
|
class _Utils:
|
|
902
902
|
def __init__(self, driver, api, url_procurada, uf, sistema, advogado, token, tipo='mysena'):
|
|
903
903
|
self.driver = driver
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|