猎聘网HR版简历爬取

版权声明:本文为博主原创文章,遵循 CC 4.0 by-sa 版权协议,转载请附上原文出处链接和本声明。
本文链接:https://blog.csdn.net/python_9k/article/details/78907906

根据需求爬取猎聘网求职者简历

# -*- coding:utf-8 -*-
import time
from lxml import etree
from selenium import webdriver
from selenium.webdriver.common.keys import Keys

brower = webdriver.Chrome()
brower.get("https://passport.liepin.com/e/account")
# print(brower.page_source)

brower.save_screenshot("liepinhr.png")
time.sleep(30)
user_name = brower.page_source
selector = etree.HTML(user_name)
user_name1 = selector.xpath('')[0].text
print(user_name1)
展开阅读全文

没有更多推荐了,返回首页