From e66649e4fa6e697076a9b7002fb9122c777ae2ca Mon Sep 17 00:00:00 2001 From: Apple Date: Tue, 20 Nov 2018 21:24:27 +0800 Subject: [PATCH] modified the weibo drop-title into lite-iconf-profile, since the web front source page was updated. --- login/weibo/cookies.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/login/weibo/cookies.py b/login/weibo/cookies.py index 9e3f511..71e842c 100644 --- a/login/weibo/cookies.py +++ b/login/weibo/cookies.py @@ -53,7 +53,7 @@ class WeiboCookies(): """ try: return bool( - WebDriverWait(self.browser, 5).until(EC.presence_of_element_located((By.CLASS_NAME, 'drop-title')))) + WebDriverWait(self.browser, 5).until(EC.presence_of_element_located((By.CLASS_NAME, 'lite-iconf-profile')))) except TimeoutException: return False