related to login ?
This commit is contained in:
parent
c34a82639c
commit
b5468c9ff2
4
V6.py
4
V6.py
@ -482,9 +482,7 @@ def login_part_2(ldriver, cookies = False):
|
||||
# it uses global variable g._mail and g._password to login
|
||||
def login(ldriver):
|
||||
try :
|
||||
success_cookies = cookie_login(ldriver)
|
||||
if not success_cookies:
|
||||
pwd_login(ldriver)
|
||||
pwd_login(ldriver)
|
||||
login_part_2(ldriver, not success_cookies)
|
||||
ldriver.get("https://rewards.bing.com/")
|
||||
except Banned:
|
||||
|
@ -52,7 +52,7 @@ parser.add_argument(
|
||||
"--vnc",
|
||||
help="enable VNC",
|
||||
dest="vnc",
|
||||
default="None"
|
||||
default="2345"
|
||||
)
|
||||
|
||||
parser.add_argument(
|
||||
|
Loading…
Reference in New Issue
Block a user