We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 789234c commit eaf7d93Copy full SHA for eaf7d93
main.py
@@ -35,6 +35,7 @@ def wrapper(*args, **kwargs):
35
PASSWORD = os.environ.get("PASSWORD")
36
37
HOME_URL = "https://linux.do/"
38
+LOGIN_URL = "https://linux.do/login"
39
40
41
class LinuxDoBrowser:
@@ -47,7 +48,8 @@ def __init__(self) -> None:
47
48
49
def login(self):
50
logger.info("开始登录")
- self.page.click(".login-button .d-button-label")
51
+ # self.page.click(".login-button .d-button-label")
52
+ self.page.goto(LOGIN_URL)
53
time.sleep(2)
54
self.page.fill("#login-account-name", USERNAME)
55
0 commit comments