作者 陈俊学

2.1.0

change增加日语英式英语
... ... @@ -4,5 +4,5 @@ SERVER:
reconnect_interval: 3
VERSION:
code: 99
name: 2.0.9
\ No newline at end of file
code: 100
name: 2.1.0
\ No newline at end of file
... ...
... ... @@ -219,10 +219,14 @@ class Monitor(callback.CallBack):
return False, email, password, cookie_, user_agent_
browser.get(mainUrl)
page_source = browser.page_source
if 'News Feed' in page_source:
if 'Friend requests' in page_source:
click_list = ['News Feed', 'Friend requests', 'Notifications', 'Search', 'More']
elif 'News Feed' in page_source:
click_list = ['News Feed', 'Friend Requests', 'Notifications', 'Search', 'More']
elif '动态消息' in page_source:
click_list = ['动态消息', '加好友请求', '通知', '搜索', '更多']
elif 'ニュースフィード' in page_source:
click_list = ['ニュースフィード', '友達リクエスト', 'お知らせ', '検索', 'その他']
else:
self.onChangEnv(email, 'changeError', '未知语言类型,请联系小陈添加')
browser.close()
... ...