Python refresh Zhilian resume

Source: Internet
Author: User

I am looking for a job recently. In order to allow employers to view my resume and status in a timely manner, I decided to refresh my resume every day. However, if I log on to Zhilian every day, manual operations and click Refresh are also quite troublesome. Simply use python to write a try. Here the cpamie module is used,CodeAs follows:

 

Code

  From  Cpamie  Import  Pamie
IE = Pamie ( " Www.zhaopin.com " )
Ie. textboxset ( " Loginname " , ' Your username ' ) # Assign a value to the loginname text box
Ie. textboxset ( " Password " , " Password " ) # Assign a value to the Password text box
Ie. buttonclick ( " Login_button_1 " ) # Click Login
Ie. linkclick (Unicode ( ' Resume Center ' , ' Gb2312 ' )) # Click the resume center link.
Ie. linkclick (Unicode ( " Refresh " , ' Gb2312 ' )) # Click "refresh" to connect. Ie. linkclick (Unicode ("exit", 'gb2312') # click "exit" Del IE

The code is only used to implement functions without exception handling. Wait for a while before implementation.

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.