You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

39 lines
1.3 KiB
Python

# Define here the models for your scraped items
#
# See documentation in:
# https://docs.scrapy.org/en/latest/topics/items.html
import scrapy
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() # 出版社
producer = scrapy.Field() # 出品方
title_subhead = scrapy.Field() # 副标题
book_name_original = scrapy.Field() # 原作名
translator = scrapy.Field() # 译者
pages = scrapy.Field() # 页数
price = scrapy.Field() # 定价
binding = scrapy.Field() # 装帧
series = scrapy.Field() # 丛书
rating_nums = scrapy.Field() # 评分
comment = scrapy.Field() # 一言
book_catalog = scrapy.Field() # 目录
author_summery = 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() # 排名
book_link = scrapy.Field() # 图书链接
book_cover_link = scrapy.Field() # 图书封面链接