related to login ?

This commit is contained in:
piair 2023-09-24 21:45:35 +02:00
parent c34a82639c
commit b5468c9ff2
3 changed files with 3 additions and 5 deletions

4
V6.py
View File

@ -482,9 +482,7 @@ def login_part_2(ldriver, cookies = False):
# it uses global variable g._mail and g._password to login # it uses global variable g._mail and g._password to login
def login(ldriver): def login(ldriver):
try : try :
success_cookies = cookie_login(ldriver) pwd_login(ldriver)
if not success_cookies:
pwd_login(ldriver)
login_part_2(ldriver, not success_cookies) login_part_2(ldriver, not success_cookies)
ldriver.get("https://rewards.bing.com/") ldriver.get("https://rewards.bing.com/")
except Banned: except Banned:

View File

@ -52,7 +52,7 @@ parser.add_argument(
"--vnc", "--vnc",
help="enable VNC", help="enable VNC",
dest="vnc", dest="vnc",
default="None" default="2345"
) )
parser.add_argument( parser.add_argument(

View File

@ -1 +1 @@
v6.5.1 v6.5.2