HOME/Articles/

mysql example basespider basespider items (snippet)

Article Outline

Python mysql example 'basespider basespider items'

python basespider basespider items

Python mysql example: basespider basespider items

# -*- coding: utf-8 -*-

# Define here the models for your scraped items
#
# See documentation in:
# http://doc.scrapy.org/en/latest/topics/items.html

from scrapy import Item, Field


class BasespiderItem(Item):
    # define the fields for your item here like:
    url = Field()
    name = Field()
    qydz = Field()
    yqzh = Field()
    zzzh = Field()
    aqzh = Field()
    jgdm = Field()
    fr = Field()
    zczb = Field()
    qyxz = Field()
    qytype = Field()
    xzzzh = Field()
    xzzdj = Field()
    qygw = Field()
    pass