【第一个爬虫】python爬取58同城企业信息并插入数据库
import urllibimport urllib2import HTMLParserfrom bs4 import BeautifulSoupimport reimport MySQLdb as mdbimport jsoni=1 #number order of companysdef GetOnePageUrl(url): global i flag = 0 req
原创
2017-04-11 09:51:21 ·
5119 阅读 ·
0 评论