items.py import scrapy class LagouItem(scrapy.Item): # define the fields for your item here like: # name = scrapy.Field() #id # obj_id=scrapy.Field() #职位名 positon_name=scrapy.Field() #工作地点 work_place=scrapy.Field() #发布日期 publish_time=scrapy.Field() #
一.项目目录结构: 代码如下: # -*- coding: utf-8 -*- # Define here the models for your scraped items # # See documentation in: # https://doc.scrapy.org/en/latest/topics/items.html import scrapy class Job58CityItem(scrapy.Item): # define the fields for your item h