crawler-MiniProgram/dagongPro/items.py

18 lines
417 B
Python
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# 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()