|
|
@ -10,3 +10,15 @@ class DoubanBookItem(scrapy.Item):
|
|
|
|
# define the fields for your item here like:
|
|
|
|
# define the fields for your item here like:
|
|
|
|
# name = scrapy.Field()
|
|
|
|
# name = scrapy.Field()
|
|
|
|
pass
|
|
|
|
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() # 排名
|
|
|
|