コード例 #1
0
class TanmoItem(scrapy.OrderedItem):
    cat_no = scrapy.Field()
    name = scrapy.Field()
    standard = scrapy.Field()
    cas = scrapy.Field()
    unit = scrapy.Field()
    price = scrapy.Field()
    stock = scrapy.Field()
    delivery = scrapy.Field()
    expiry_date = scrapy.Field()
    company = scrapy.Field()

    class Meta:
        indexes = ((('cat_no', 'name'), True), )
コード例 #2
0
class ProductPackage(scrapy.OrderedItem):
    brand = scrapy.Field()
    cat_no = scrapy.Field()
    cat_no_unit = scrapy.Field()
    package = scrapy.Field()
    price = scrapy.Field()
    currency = scrapy.Field()
    delivery_time = scrapy.Field()
    stock_num = scrapy.Field()
    info = scrapy.Field()

    class Meta:
        indexes = ((('brand', 'cat_no', 'package'), True), )
コード例 #3
0
class JkItem(scrapy.OrderedItem):
    cat_no = scrapy.Field()
    en_name = scrapy.Field()
    chs_name = scrapy.Field()
    cas = scrapy.Field()
    brand = scrapy.Field()
    package = scrapy.Field()
    price = scrapy.Field()
    purity = scrapy.Field()

    class Meta:
        indexes = ((("cat_no", ), True), )
コード例 #4
0
class NicpbpItem(scrapy.OrderedItem):
    cat_no = scrapy.Field()
    name = scrapy.Field()
    lot = scrapy.Field()
    unit = scrapy.Field()
    usage = scrapy.Field()
    storage = scrapy.Field()
    in_stock = scrapy.Field()

    class Meta:
        indexes = ((("cat_no", ), True), )
コード例 #5
0
class JkProduct(scrapy.OrderedItem):
    brand = scrapy.Field()
    cat_no = scrapy.Field()
    en_name = scrapy.Field()
    cn_name = scrapy.Field()
    cas = scrapy.Field()
    purity = scrapy.Field()
    prd_url = scrapy.Field()
    img_url = scrapy.Field()

    class Meta:
        indexes = (((
            "brand",
            "cat_no",
        ), True), )
コード例 #6
0
class JKPackage(scrapy.OrderedItem):
    brand = scrapy.Field()
    cat_no = scrapy.Field()
    package = scrapy.Field()
    price = scrapy.Field()
    currency = scrapy.Field()
    attrs = scrapy.Field()

    class Meta:
        indexes = ((('brand', 'cat_no', 'package'), True), )
コード例 #7
0
class RawData(scrapy.OrderedItem):
    brand = scrapy.Field()  ##品牌
    parent = scrapy.Field()  ##分类
    cat_no = scrapy.Field()  ##货号
    en_name = scrapy.Field()  ##英文名
    chs_name = scrapy.Field()  ##中文名
    cas = scrapy.Field()  ##cas号
    smiles = scrapy.Field()  ##结构式
    mf = scrapy.Field()  ##分子式
    mw = scrapy.Field()  ##分子量
    stock_info = scrapy.Field()  ##库存状态
    purity = scrapy.Field()  ##纯度
    appearance = scrapy.Field()  ##外观
    img_url = scrapy.Field()  ##图片url
    info1 = scrapy.Field()  ##化学名称
    info2 = scrapy.Field()  ##储存条件
    info3 = scrapy.Field()  ##
    info4 = scrapy.Field()  ##
    info5 = scrapy.Field()  ##

    tags = scrapy.Field()
    grade = scrapy.Field()
    mol_text = scrapy.Field()
    prd_url = scrapy.Field()  ##详情地址
    expiry_date = scrapy.Field()
    stock_num = scrapy.Field()
    mdl = scrapy.Field()
    einecs = scrapy.Field()

    class Meta:
        indexes = (((
            'brand',
            'cat_no',
        ), True), )
コード例 #8
0
class BestownPrdItem(scrapy.OrderedItem):
    chs_name = scrapy.Field()
    en_name = scrapy.Field()
    country = scrapy.Field()
    brand = scrapy.Field()
    unit = scrapy.Field()
    cas = scrapy.Field()
    cat_no_unit = scrapy.Field()
    prd_type = scrapy.Field()
    stock = scrapy.Field()
    coupon = scrapy.Field()
    price = scrapy.Field()
    url = scrapy.Field()

    class Meta:
        indexes = ((('cat_no_unit', ), True), )
コード例 #9
0
class SupplierProduct(scrapy.OrderedItem):
    platform = scrapy.Field()
    source_id = scrapy.Field()
    vendor = scrapy.Field()
    brand = scrapy.Field()
    vendor_origin = scrapy.Field()
    vendor_type = scrapy.Field()
    vendor_url = scrapy.Field()

    parent = scrapy.Field()
    cat_no = scrapy.Field()
    en_name = scrapy.Field()
    chs_name = scrapy.Field()
    cas = scrapy.Field()
    smiles = scrapy.Field()
    mf = scrapy.Field()
    mw = scrapy.Field()
    stock_info = scrapy.Field()
    purity = scrapy.Field()
    appearance = scrapy.Field()
    img_url = scrapy.Field()
    synonyms = scrapy.Field()
    storage_condition = scrapy.Field()
    package = scrapy.Field()
    price = scrapy.Field()
    delivery = scrapy.Field()

    info1 = scrapy.Field()
    info2 = scrapy.Field()
    info3 = scrapy.Field()
    info4 = scrapy.Field()
    info5 = scrapy.Field()

    tags = scrapy.Field()
    grade = scrapy.Field()
    mol_text = scrapy.Field()
    prd_url = scrapy.Field()
    expiry_date = scrapy.Field()
    stock_num = scrapy.Field()
    mdl = scrapy.Field()
    einecs = scrapy.Field()

    class Meta:
        indexes = (((
            'platform',
            'source_id',
        ), True), )
コード例 #10
0
class HongmengItem(scrapy.OrderedItem):
    brand = scrapy.Field()
    sub_brand = scrapy.Field()
    parent = scrapy.Field()
    cat_no = scrapy.Field()
    sub_cat_no = scrapy.Field()
    cn_name = scrapy.Field()
    purity = scrapy.Field()
    cas = scrapy.Field()
    package = scrapy.Field()
    price = scrapy.Field()
    amount = scrapy.Field()
    place_code = scrapy.Field()
    prd_url = scrapy.Field()

    class Meta:
        indexes = ((('brand', 'sub_brand', 'cat_no', 'sub_cat_no',
                     'place_code'), True), )
コード例 #11
0
class HbErmItem(scrapy.OrderedItem):
    cat_no = scrapy.Field()
    cn_name = scrapy.Field()
    batch = scrapy.Field()
    manufacture = scrapy.Field()
    expire_date = scrapy.Field()
    package = scrapy.Field()
    sale_info = scrapy.Field()
    usage = scrapy.Field()
    components = scrapy.Field()
    concentrate = scrapy.Field()

    price = scrapy.Field()
    stock_info = scrapy.Field()

    class Meta:
        indexes = ((('cat_no', 'batch'), True), )
コード例 #12
0
class NewBestownItem(scrapy.OrderedItem):
    uid = scrapy.Field()
    stockcode = scrapy.Field()
    name = scrapy.Field()
    brand = scrapy.Field()
    purity = scrapy.Field()
    name2 = scrapy.Field()
    name3 = scrapy.Field()
    pack = scrapy.Field()
    molecular = scrapy.Field()
    picture = scrapy.Field()
    picture2 = scrapy.Field()
    date = scrapy.Field()
    temp = scrapy.Field()
    method = scrapy.Field()
    transport = scrapy.Field()
    attention = scrapy.Field()
    price = scrapy.Field()
    num = scrapy.Field()
    msds = scrapy.Field()
    report = scrapy.Field()
    rj = scrapy.Field()

    class Meta:
        indexes = ((('stockcode', ), True), )
コード例 #13
0
class AnpelItem(scrapy.OrderedItem):
    cat_no = scrapy.Field()
    cn_name = scrapy.Field()
    en_name = scrapy.Field()
    brand = scrapy.Field()
    sub_brand = scrapy.Field()
    cas = scrapy.Field()
    package = scrapy.Field()
    unit = scrapy.Field()
    price = scrapy.Field()
    delivery_time = scrapy.Field()
    storage = scrapy.Field()
    prd_url = scrapy.Field()

    class Meta:
        indexes = ((('cat_no', ), True), )