crawler-MiniProgram/zjjtPro/items.py

17 lines
372 B
Python

# Define here the models for your scraped items
#
# See documentation in:
# https://docs.scrapy.org/en/latest/topics/items.html
import scrapy
class ZjjtproItem(scrapy.Item):
index = scrapy.Field()
img_src = scrapy.Field()
title = scrapy.Field()
news_id = scrapy.Field()
content = scrapy.Field()
date = scrapy.Field()
author = scrapy.Field()