In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-16 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >
Share
Shulou(Shulou.com)06/01 Report--
This article introduces how to use CB to update your resume in python. The content is very detailed. Interested friends can use it for reference. I hope it will be helpful to you.
It's actually a curl application for python. At the request of tom, it is now announced to you. I hope it will be useful to all of you.
Http://onefishum.blog.163.com/bl... 052013324114213898/
At present, high-end jobs are getting harder and harder to find. I have done 51, zhaopin, Liepin resume browsing procedures, are similar, but at present these so-called largest recruitment websites, according to my follow-up analysis for a period of time, found that since last year, personnel demand is basically zero, most of the recruitment is fake. That's why developers want to do a program to refresh their resume update time, in order to increase their own opportunities (jobs do not change wages do not rise, in order to live, ah, can only give play to technical advantages). If you have a good opportunity, you can also recommend it for me. It started in 1996, linux in 1998, and php in 1999. Games, websites, apps, design take-all) this is a python script I wrote when I was studying curl. At first, I used the shell script. In order to improve the efficiency a little bit, it has now been changed to python. This hope plays an important role in attracting jade to everyone. Hunting and hiring is relatively easy, and it is suitable for everyone to practice. Other websites in addition to zhaopin graphics verification code is more troublesome. It should all be easier.
#! / usr/bin/python#-*- coding:utf-8-*-
Import os
Import sys
Import pycurl
Import hashlib
Import urllib
Import StringIO
Import string
Reload (sys)
Sys.setdefaultencoding ('utf8')
_ DEBUG=False
Def posturl (url,postdata):
Global _ DEBUG
Curl = pycurl.Curl ()
Html=StringIO.StringIO ()
# curl-b cookie write
Curl.setopt (pycurl.COOKIEFILE, 'cookie')
# curl-c cookie read in
Curl.setopt (pycurl.COOKIEJAR, 'cookie')
# curl-d uses post mode
Curl.setopt (pycurl.POST,True)
Curl.setopt (pycurl.POSTFIELDS, postdata)
# curl.setopt (pycurl.POSTFIELDS, urllib.urlencode (postdata))
# set url
Curl.setopt (pycurl.URL,url)
# ssl Certification
# curl.setopt (pycurl.SSL_VERIFYHOST, False)
# curl.setopt (pycurl.SSL_VERIFYPEER,False)
# set agent
# curl.setopt (pycurl.USERAGENT,r "User-Agent: Dalvik/1.4.0 (Linux; U; Android 2.3.7; Milestone Build/SHOLS_U2_05.26.3)")
Curl.setopt (pycurl.WRITEFUNCTION, html.write)
Curl.setopt (pycurl.FOLLOWLOCATION, 1)
If _ DEBUG:
# connection server information
Curl.setopt (pycurl.VERBOSE, True)
Htmlcode=str (curl.getinfo (pycurl.HTTP_CODE))
Print r' error code:'+ htmlcode
Print 'URL:',curl.getinfo (pycurl.EFFECTIVE_URL)
Curl.perform ()
Return html.getvalue () .encode ('utf8')
# def posturl (url,postdata):
If _ name__ = = "_ _ main__":
Username=' your user name'
Passwd=' your password.
Login=posturl (r 'http://www.lietou.com/user/ajaxlogin/?isMd5=1','user_login='+username+'&user_pwd='+str(hashlib.md5(passwd).hexdigest())))
Print login
Login=posturl (r 'http://c.lietou.com/resume/refreshresume/','res_id=123456'))
Print login
Note:
Res_id should be your resume id. I'm lazy about this. Do not use the program to catch and analyze it. You can use foxfire's firebug or httpfox to grab it. For everyone, this value is dead. There is really no need to consume cpu.
Python on how to use CB to update the resume update program to share here, I hope that the above content can be of some help to you, can learn more knowledge. If you think the article is good, you can share it for more people to see.
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.