From 5884f1e92cbc8707f95a4f115ea79ca611234dc1 Mon Sep 17 00:00:00 2001 From: caiwx86 Date: Tue, 16 May 2023 07:49:15 +0800 Subject: [PATCH] fix --- Comics/items.py | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/Comics/items.py b/Comics/items.py index 5b13139..08bddc2 100644 --- a/Comics/items.py +++ b/Comics/items.py @@ -30,3 +30,23 @@ class ImageItem(scrapy.Item): image_name = scrapy.Field() image_url = scrapy.Field() image_path = scrapy.Field() + +class ComicInfoItem(scrapy.Item): + Title= scrapy.Field()#"章节名",True] + Series = scrapy.Field()# ","漫画名",True] + Number = scrapy.Field()# ","编号",True] + SeriesGroup = scrapy.Field()# ","别名",False] + Summary = scrapy.Field()# ","概述",True] + Year = scrapy.Field()# ","年",False] + Month = scrapy.Field()# ","月",False] + Day = scrapy.Field()# ","日",False] + Writer = scrapy.Field()# "作者",True] + Publisher = scrapy.Field()# ","出版社",False] + Genre = scrapy.Field()# ","流派",True] + Tags = scrapy.Field()# ","标签",True] + Web = scrapy.Field()# ","主页",False] + PageCount = scrapy.Field()# ","总页数",True] + LanguageISO = scrapy.Field()#","语言",True] + AgeRating = scrapy.Field()#","年龄分级",False] + Pages = scrapy.Field()#","页码",True] + # ComicInfo.xml and ComicChapter.json end \ No newline at end of file