-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathitems.py
More file actions
50 lines (43 loc) · 1.28 KB
/
Copy pathitems.py
File metadata and controls
50 lines (43 loc) · 1.28 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
# -*- coding: utf-8 -*-
# Define here the models for your scraped items
#
# See documentation in:
# https://doc.scrapy.org/en/latest/topics/items.html
import scrapy
class PythonspiderItem(scrapy.Item):
# define the fields for your item here like:
# name = scrapy.Field()
#pass
name = scrapy.Field()
title = scrapy.Field()
info = scrapy.Field()
class nyahentaiItem(scrapy.Item):
# define the fields for your item here like:
# name = scrapy.Field()
#pass
name = scrapy.Field()
pageCount = scrapy.Field()
preUrl = scrapy.Field()
suffix = scrapy.Field()
image_urls = scrapy.Field()
images = scrapy.Field()
#image_paths = scrapy.Field()
class jdBookItem(scrapy.Item):
# define the fields for your item here like:
# name = scrapy.Field()
#pass
name = scrapy.Field()
price = scrapy.Field()
desc = scrapy.Field()
first_class = scrapy.Field()
second_class = scrapy.Field()
image_url = scrapy.Field()
#image_paths = scrapy.Field()
class DangdangbookItem(scrapy.Item):
title = scrapy.Field()
author = scrapy.Field()
first_level = scrapy.Field()
second_level = scrapy.Field()
third_level = scrapy.Field()
price = scrapy.Field()
des = scrapy.Field()