爬取网站:前程无忧网站
from selenium import webdriver
from selenium.webdriver import ChromeOptions
import time
import csv
option=ChromeOptions()
option.add_experimental_option('excludeSwitches',['enable-logging'])
driver=webdriver.Chrome(options=option)
driver.implicitly_wait(10)
#爬取51job网站获得相关岗位信息
driver.get('https://www.51job.com/')
#csv
fp = open('qcwy.csv', 'wt', newline='', encoding='utf-8'