Home  >  Article  >  Backend Development  >  python简单实现刷新智联简历

python简单实现刷新智联简历

WBOY
WBOYOriginal
2016-06-10 15:05:25932browse

python来写一个试试吧,这里使用了cPAMIE模块,代码如下:

代码

 
from cPAMIE import PAMIE
ie=PAMIE("www.zhaopin.com")
ie.textBoxSet("loginname",'你的用户名')#给loginname文本框赋值
ie.textBoxSet("password","密码")#给password文本框赋值
ie.buttonClick("login_button_1")#点击登录按钮
ie.linkClick(unicode('简历中心','gb2312'))#点击”简历中心“链接
ie.linkClick(unicode("刷新",'gb2312'))#点击“刷新”连接
ie.linkClick(unicode("退出",'gb2312'))#点击"退出"
del ie

  代码仅仅为了实现功能,没有做异常处理等,等以后有时间了,再慢慢实现吧

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn