related to login ?
This commit is contained in:
parent
c34a82639c
commit
b5468c9ff2
2
V6.py
2
V6.py
|
@ -482,8 +482,6 @@ 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)
|
|
||||||
if not success_cookies:
|
|
||||||
pwd_login(ldriver)
|
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/")
|
||||||
|
|
|
@ -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(
|
||||||
|
|
Loading…
Reference in New Issue