18 lines
417 B
Python
18 lines
417 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 DagongwangproItem(scrapy.Item):
|
||
title = scrapy.Field()
|
||
content = scrapy.Field()
|
||
date = scrapy.Field()
|
||
src = scrapy.Field()
|
||
author = scrapy.Field()
|
||
news_id = scrapy.Field()
|
||
# 4.11新增:新闻板块代码index
|
||
index = scrapy.Field()
|