items.py 468 Bytes
Newer Older
Renán Sosa Guillen's avatar
Renán Sosa Guillen committed
1 2 3 4 5
# -*- coding: utf-8 -*-

# Define here the models for your scraped items
#
# See documentation in:
Mario Chirinos Colunga's avatar
Mario Chirinos Colunga committed
6
# https://doc.scrapy.org/en/latest/topics/items.html
Renán Sosa Guillen's avatar
Renán Sosa Guillen committed
7 8 9 10 11 12 13 14 15 16 17 18 19 20

import scrapy


class NoticiasItem(scrapy.Item):
    # define the fields for your item here like:
    # name = scrapy.Field()
    title = scrapy.Field()
    text = scrapy.Field()
    date = scrapy.Field()
    location = scrapy.Field()
    author = scrapy.Field()
    topic = scrapy.Field()
    url = scrapy.Field()