1. 首页
  2. 数据库
  3. 其它
  4. python爬取51job中hr的邮箱

python爬取51job中hr的邮箱

上传者: 2020-12-31 07:34:50上传 PDF文件 32.8KB 热度 10次
本文实例为大家分享了python爬取51job中hr的邮箱具体代码,供大家参考,具体内容如下 #encoding=utf8 import urllib2 import cookielib import re import lxml.html from _ast import TryExcept from warnings import catch_warnings f = open('/root/Desktop/51-01.txt','a+') def read(city): url = 'http://www.51job.com/'+city cj = cookielib.Mozi
用户评论