摘要: #今日目标 **腾讯招聘爬虫** 爬取该网站技术类的职位名以及它们的要求、职责 ``` import requests import json import time import random class TencentSpider(object): def __init__(self): self.headers = {'User-Agent':'Mozill... 阅读全文
posted @ 2019-07-28 21:41 Dragon、 阅读(533) 评论(0) 推荐(1) 编辑
摘要: #中华人民行政部网站爬虫 **今日目标** 爬取该网站行政数据里的县以上最新行政区代码 ``` import requests from lxml import etree import pymysql import re class Govement(object): def __init__(self): self.one_url = 'http://www.m... 阅读全文
posted @ 2019-07-28 21:36 Dragon、 阅读(383) 评论(0) 推荐(0) 编辑