<reponame>yunyu2019/blog
# -*- coding: utf-8 -*-

# Define here the models for your scraped items
#
# See documentation in:
# http://doc.scrapy.org/en/latest/topics/items.html

import scrapy


class SongsItem(scrapy.Item):
    author_id=scrapy.Field()
    title=scrapy.Field()
    dynasty=scrapy.Field() 
    view_url=scrapy.Field()
    comment_nums=scrapy.Field()
    point=scrapy.Field()
    author=scrapy.Field()
    content=scrapy.Field()
    pinyin=scrapy.Field()
    page=scrapy.Field()
    relation_urls=scrapy.Field()
    rel_title=scrapy.Field()
    editor=scrapy.Field()
    rel_content=scrapy.Field()
    rel_url=scrapy.Field()

class AuthorItem(scrapy.Item):
    author_url=scrapy.Field()
    author_id=scrapy.Field()
    faceimg=scrapy.Field()
    dynasty=scrapy.Field()
    author=scrapy.Field()
    author_desc=scrapy.Field()
    pinyin=scrapy.Field()
    relation_urls=scrapy.Field()
    title=scrapy.Field()
    editor=scrapy.Field()
    content=scrapy.Field()
    view_url=scrapy.Field()
    page=scrapy.Field()
# -*- coding: utf-8 -*-

# Define here the models for your scraped items
#
# See documentation in:
# http://doc.scrapy.org/en/latest/topics/items.html

import scrapy


class SongsItem(scrapy.Item):
    author_id=scrapy.Field()
    title=scrapy.Field()
    dynasty=scrapy.Field() 
    view_url=scrapy.Field()
    comment_nums=scrapy.Field()
    point=scrapy.Field()
    author=scrapy.Field()
    content=scrapy.Field()
    pinyin=scrapy.Field()
    page=scrapy.Field()
    relation_urls=scrapy.Field()
    rel_title=scrapy.Field()
    editor=scrapy.Field()
    rel_content=scrapy.Field()
    rel_url=scrapy.Field()

class AuthorItem(scrapy.Item):
    author_url=scrapy.Field()
    author_id=scrapy.Field()
    faceimg=scrapy.Field()
    dynasty=scrapy.Field()
    author=scrapy.Field()
    author_desc=scrapy.Field()
    pinyin=scrapy.Field()
    relation_urls=scrapy.Field()
    title=scrapy.Field()
    editor=scrapy.Field()
    content=scrapy.Field()
    view_url=scrapy.Field()
    page=scrapy.Field()
# -*- coding: utf-8 -*- # Define here the models for your scraped items # # See documentation in: # http://doc.scrapy.org/en/latest/topics/items.html