Skip to content

Commit

Permalink
添加一些注释和说明
Browse files Browse the repository at this point in the history
  • Loading branch information
ResolveWang committed May 17, 2017
1 parent c1e332d commit 5331c09
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion sina_login/sina_login_by_selenium.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ def login(account, passwd, url):
# 如果driver没加入环境变量中,那么就需要明确指定其路径
# 验证于2017年4月11日
# 直接登陆新浪微博
driver = webdriver.Chrome(executable_path='/Users/resolvewang/Documents/program/driver/chromedriver')
driver = webdriver.Chrome('/Users/resolvewang/Documents/program/driver/chromedriver')
driver.maximize_window()
# locator = (By.)
driver.get(url)
Expand Down
1 change: 1 addition & 0 deletions sina_login/sina_login_phone.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@
'pagerefer': 'https://passport.weibo.cn/signin/welcome?entry=mweibo&r=http%3A%2F%2Fm.weibo.cn%2F&wm=3349&vt=4',
'entry': 'mweibo'
}
# 这个入口仍然有效
login_url = 'https://passport.weibo.cn/sso/login'


Expand Down

0 comments on commit 5331c09

Please sign in to comment.