33 lines
754 B
Python
33 lines
754 B
Python
# Define here the models for your scraped items
|
|
#
|
|
# See documentation in:
|
|
# https://docs.scrapy.org/en/latest/topics/items.html
|
|
|
|
import scrapy
|
|
|
|
|
|
class ComicsItem(scrapy.Item):
|
|
#漫画名
|
|
name = scrapy.Field()
|
|
#链接
|
|
link = scrapy.Field()
|
|
|
|
class ComicItem(scrapy.Item):
|
|
name = scrapy.Field()
|
|
chapter = scrapy.Field()
|
|
list_img = scrapy.Field()
|
|
author= scrapy.Field()
|
|
icon = scrapy.Field()
|
|
tags = scrapy.Field()
|
|
dep = scrapy.Field()
|
|
date = scrapy.Field()
|
|
chapters = scrapy.Field()
|
|
chapter_href= scrapy.Field()
|
|
genre = scrapy.Field()
|
|
age_rating = scrapy.Field()
|
|
|
|
class DownImagesItem(scrapy.Item):
|
|
image_name = scrapy.Field()
|
|
image_url = scrapy.Field()
|
|
image_path = scrapy.Field()
|