# -*- 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 YidianItem(scrapy.Item):
    # define the fields for your item here like:
    # name = scrapy.Field()
    title = scrapy.Field()
    hours = scrapy.Field()
    comment_count = scrapy.Field()
    category = scrapy.Field()
    ctype = scrapy.Field()
    url = scrapy.Field()

class ToutiaoItem(scrapy.Item):
    # define the fields for your item here like:
    # name = scrapy.Field()
    filename = scrapy.Field()
    title = scrapy.Field()
    media_name = scrapy.Field()
    datetime = scrapy.Field()
    comment_count = scrapy.Field()
    percent = scrapy.Field()
    article_url = scrapy.Field()

# class Article(scrapy.Item):
#     article = scrapy.Field()
#     image = scrapy.Field()
