Python使用scrapy框架爬取腾讯招聘
目标网址:https://careers.tencent.com/search.html?pcid=40001 创建项目 : scrapy startproject tencent 创建爬虫:scrapy genspider tc careers.tencent.com tc.py # -*- coding: utf-8 -*- import scrapy import json class TcSpider(scrapy.Spider): name = 'tc' allowed_domains = ['careers.tencent.com'] one_url = '
用户评论