diff --git a/douban_book/douban_book/items.py b/douban_book/douban_book/items.py index 24d2057..3a9f7e6 100644 --- a/douban_book/douban_book/items.py +++ b/douban_book/douban_book/items.py @@ -10,3 +10,15 @@ class DoubanBookItem(scrapy.Item): # define the fields for your item here like: # name = scrapy.Field() pass + + +class DoubanBookTop250Item(scrapy.Item): + book_name = scrapy.Field() # 书名 + author_name = scrapy.Field() # 作者 + publisher = scrapy.Field() # 出版社 + pub_year = scrapy.Field() # 出版年 + book_isbn = scrapy.Field() # ISBN + book_summery = scrapy.Field() # 简介 + rank_type = scrapy.Field() # 榜单类型 + rank_name = scrapy.Field() # 榜单名 + ranking = scrapy.Field() # 排名